summaryrefslogtreecommitdiff
path: root/x11-misc/xdotool/files/xdotool-3.20210804.2-allow_xwayland.patch
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/xdotool/files/xdotool-3.20210804.2-allow_xwayland.patch')
-rw-r--r--x11-misc/xdotool/files/xdotool-3.20210804.2-allow_xwayland.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/x11-misc/xdotool/files/xdotool-3.20210804.2-allow_xwayland.patch b/x11-misc/xdotool/files/xdotool-3.20210804.2-allow_xwayland.patch
new file mode 100644
index 000000000000..efb1ccf13410
--- /dev/null
+++ b/x11-misc/xdotool/files/xdotool-3.20210804.2-allow_xwayland.patch
@@ -0,0 +1,14 @@
+See
+https://github.com/jordansissel/xdotool/issues/346
+for details.
+
+--- a/xdo.c
++++ b/xdo.c
+@@ -121,7 +121,6 @@
+ // Try to detect XWayland and warn the user about problems.
+ if (appears_to_be_wayland(xdpy)) {
+ fprintf(stderr, "The X server at %s appears to be XWayland. Unfortunately, XWayland does not correctly support the features used by libxdo and xdotool.\n", display);
+- return NULL;
+ }
+
+