• Peter Hutterer's avatar
    xwayland: add support for the XWAYLAND extension · 2700bc60
    Peter Hutterer authored
    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.
    
    xorg/proto/xorgproto!54
    
    
    
    Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
    2700bc60