Skip to content

xwayland: Fix check for explicit sync/syncobjs

Joshua Ashton requested to merge frog/xserver:misyl/syncobj-check-fix into master

Previously, PresentCapabilitySyncobj was always being exposed when ANDROID_native_fence_sync was exposed.

It should only be exposed if ANDROID_native_fence_sync is exposed AND the Wayland compositor supports linux-drm-syncobj-v1.

xwl_screen->explicit_sync already gives the guarantee that glamor has syncobjs supported.

Fixes: 6f85ce4d ("xwayland: support DRI3 1.4 and Present 1.4") Signed-off-by: Joshua Ashton joshua@froggi.es

Merge request reports