Merge branch 'misyl/syncobj-check-fix' into 'master'

xwayland: Fix check for explicit sync/syncobjs

See merge request xorg/xserver!1567
This commit is contained in:
autumn 2025-12-11 19:53:59 +00:00
commit 5fac6e9bbb

View file

@ -1383,7 +1383,7 @@ xwl_present_init(ScreenPtr screen)
xwl_screen->present_capabilities = XWL_PRESENT_CAPS;
#ifdef XWL_HAS_GLAMOR
if (xwl_glamor_supports_syncobjs(xwl_screen))
if (xwl_screen->explicit_sync)
xwl_screen->present_capabilities |=
PresentCapabilitySyncobj;
#endif /* XWL_HAS_GLAMOR */