Skip to content
Snippets Groups Projects
Commit ad641262 authored by Peter Hutterer's avatar Peter Hutterer
Browse files

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: default avatarPeter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: default avatarOlivier Fourdan <ofourdan@redhat.com>
parent a3f847b7
No related branches found
No related tags found
1 merge request!54Add the XWAYLAND extension
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment