vulkan/wsi/x11: detect Xwayland via the XWAYLAND extension
authorSimon Ser <contact@emersion.fr>
Thu, 28 Jul 2022 12:54:56 +0000 (14:54 +0200)
committerSimon Ser <contact@emersion.fr>
Mon, 22 Aug 2022 08:10:23 +0000 (10:10 +0200)
commit137b34a67ebe18818b062a1ccf7e1c24c96fa5ff
tree23fcb1f590982ed7e5f6be16c52e43f5c1626001
parent87182ba977a3f9890f8d6eb0b3717dde215f63d7
vulkan/wsi/x11: detect Xwayland via the XWAYLAND extension

This is more robust than checking for XRandR output names.

Signed-off-by: Simon Ser <contact@emersion.fr>
References: https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/954
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17790>
src/vulkan/wsi/wsi_common_x11.c