https://bugs.winehq.org/show_bug.cgi?id=45277
--- Comment #72 from Patrick patrick+winehq.org@laimbock.com --- Hi James. Rémi mentioned in #c68 that the last part of his patch might introduce tearing. So remove this last part of the patch:
diff --git a/dlls/winex11.drv/xpresent.h b/dlls/winex11.drv/xpresent.h new file mode 100644 index 00000000000..6fd813a930e --- /dev/null +++ b/dlls/winex11.drv/xpresent.h @@ -0,0 +1,36 @@ +/* + * Wine X11DRV Xpresent interface + * + * Copyright 2021 Rémi Bernon for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ +#ifndef __WINE_XPRESENT_H +#define __WINE_XPRESENT_H + +#ifndef __WINE_CONFIG_H +# error You must include config.h to use this header +#endif + +#ifdef SONAME_LIBXPRESENT +#include <X11/extensions/Xpresent.h> +#define MAKE_FUNCPTR(f) extern typeof(f) * p##f DECLSPEC_HIDDEN; +MAKE_FUNCPTR(XPresentQueryExtension) +MAKE_FUNCPTR(XPresentQueryVersion) +MAKE_FUNCPTR(XPresentPixmap) +#undef MAKE_FUNCPTR +#endif /* defined(SONAME_LIBXPRESENT) */ + +#endif /* __WINE_XPRESENT_H */
And rebuild & retest. Does that make a difference?