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>
parent
a3f847b7
No related branches found
No related tags found
Checking pipeline status
Showing
- COPYING-xwaylandproto 19 additions, 0 deletionsCOPYING-xwaylandproto
- Makefile.am 10 additions, 1 deletionMakefile.am
- configure.ac 2 additions, 1 deletionconfigure.ac
- include/X11/extensions/meson.build 1 addition, 0 deletionsinclude/X11/extensions/meson.build
- include/X11/extensions/xwaylandproto.h 63 additions, 0 deletionsinclude/X11/extensions/xwaylandproto.h
- meson.build 3 additions, 1 deletionmeson.build
- xwaylandproto.pc.in 7 additions, 0 deletionsxwaylandproto.pc.in
- xwaylandproto.txt 96 additions, 0 deletionsxwaylandproto.txt
Loading
Please register or sign in to comment