aboutsummaryrefslogtreecommitdiffstats
path: root/main/xfce4-power-manager/inhibit-fake-key-events.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2015-11-12 13:18:14 +0200
committerTimo Teräs <timo.teras@iki.fi>2015-11-12 13:18:58 +0200
commit236cb81551e31e3f73feab219a8e6de3e367152b (patch)
tree3a7824249e3c9089ba9910396728d5d5fa92f8d5 /main/xfce4-power-manager/inhibit-fake-key-events.patch
parentbd88132ad894d4b99bc5c8a52b01d65f6dc4d184 (diff)
downloadaports-236cb81551e31e3f73feab219a8e6de3e367152b.tar.bz2
aports-236cb81551e31e3f73feab219a8e6de3e367152b.tar.xz
main/xfce4-power-manager: do not send fake key events
it breaks more things than it solves
Diffstat (limited to 'main/xfce4-power-manager/inhibit-fake-key-events.patch')
-rw-r--r--main/xfce4-power-manager/inhibit-fake-key-events.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/main/xfce4-power-manager/inhibit-fake-key-events.patch b/main/xfce4-power-manager/inhibit-fake-key-events.patch
new file mode 100644
index 0000000000..e7cb262ce6
--- /dev/null
+++ b/main/xfce4-power-manager/inhibit-fake-key-events.patch
@@ -0,0 +1,14 @@
+https://bugzilla.xfce.org/show_bug.cgi?id=11083#c9
+
+diff -ru xfce4-power-manager-1.5.2.orig/src/xfpm-power.c xfce4-power-manager-1.5.2/src/xfpm-power.c
+--- xfce4-power-manager-1.5.2.orig/src/xfpm-power.c 2015-06-11 18:34:58.000000000 +0300
++++ xfce4-power-manager-1.5.2/src/xfpm-power.c 2015-10-26 16:56:30.748006741 +0200
+@@ -965,7 +965,7 @@
+
+ XResetScreenSaver (dpy);
+
+-#ifdef HAVE_LIBXTST
++#if 0 && defined HAVE_LIBXTST
+ /* keycode of 255 does not map to any actual key,
+ * this works for xscreensaver */
+ XTestFakeKeyEvent (dpy, 255, TRUE, 0);