mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
This extension exists to serve one purpose: reliably identifying Xwayland. Previous attempts at doing so included querying root window properties, output names or input device names. All these attempts are somewhat unreliable. Instead, let's use an extension - where that extension is present we have an Xwayland server. Clients should never need to do anything but check whether the extension exists through XQueryExtension or search through XListExtensions. This extension provides a single QueryVersion request only, and that is only to provide future compatibility if we ever need anything other than "this extension exists" functionality. https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/54 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 lines
397 B
Plaintext
18 lines
397 B
Plaintext
/* xwayland-config.h.meson.in: not at all generated */
|
|
|
|
#pragma once
|
|
|
|
#include <dix-config.h>
|
|
|
|
/* Build glamor support for Xwayland */
|
|
#mesondefine XWL_HAS_GLAMOR
|
|
|
|
/* Build eglstream support for Xwayland */
|
|
#mesondefine XWL_HAS_EGLSTREAM
|
|
|
|
/* Build Xwayland with libdecor support*/
|
|
#mesondefine XWL_HAS_LIBDECOR
|
|
|
|
/* Build Xwayland with XWAYLAND extension */
|
|
#mesondefine XWL_HAS_XWAYLAND_EXTENSION
|