diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2022-07-29 09:46:34 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2022-08-05 09:51:54 +1000 |
commit | ad6412624ef6dc4d7548fe16c254c4166ffa7198 (patch) | |
tree | ca8c6ba8ca5740c68a5c5f8454af79c22772dfa7 /meson.build | |
parent | a3f847b75025a57b64967d08a299bc752c488aee (diff) |
Add the XWAYLAND extension
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/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.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Olivier Fourdan <ofourdan@redhat.com>
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 7e02ac5..cee73de 100644 --- a/meson.build +++ b/meson.build @@ -51,6 +51,7 @@ pcs = [ 'xf86vidmodeproto', 'xineramaproto', 'xproto', + 'xwaylandproto', ] pc_data = configuration_data() @@ -78,7 +79,8 @@ docs = files('compositeproto.txt', 'randrproto.txt', 'renderproto.txt', 'resproto.txt', - 'xv-protocol-v2.txt') + 'xv-protocol-v2.txt', + 'xwaylandproto.txt') install_data(docs, install_dir: get_option('datadir') / 'doc' / 'xorgproto') |