From ad6412624ef6dc4d7548fe16c254c4166ffa7198 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 29 Jul 2022 09:46:34 +1000 Subject: 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 Reviewed-by: Olivier Fourdan --- xwaylandproto.pc.in | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 xwaylandproto.pc.in (limited to 'xwaylandproto.pc.in') diff --git a/xwaylandproto.pc.in b/xwaylandproto.pc.in new file mode 100644 index 0000000..16fccc7 --- /dev/null +++ b/xwaylandproto.pc.in @@ -0,0 +1,7 @@ +prefix=@prefix@ +includedir=@includedir@ + +Name: XwaylandProto +Description: Xwayland extension headers +Version: 1.0 +Cflags: -I${includedir} -- cgit v1.2.3