summaryrefslogtreecommitdiffstats
path: root/opensuse/core/qt3/0056-khotkeys_input_84434.patch
diff options
context:
space:
mode:
Diffstat (limited to 'opensuse/core/qt3/0056-khotkeys_input_84434.patch')
-rw-r--r--opensuse/core/qt3/0056-khotkeys_input_84434.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/opensuse/core/qt3/0056-khotkeys_input_84434.patch b/opensuse/core/qt3/0056-khotkeys_input_84434.patch
new file mode 100644
index 000000000..d6092c3e9
--- /dev/null
+++ b/opensuse/core/qt3/0056-khotkeys_input_84434.patch
@@ -0,0 +1,22 @@
+qt-bugs@ issue : 58251
+bugs.kde.org number : 84434
+applied: no
+author: Lubos Lunak <l.lunak@kde.org>
+
+Fixes keyboard input action in KHotKeys (see bug #84434).
+
+================================================================================
+--- src/kernel/qapplication_x11.cpp
++++ src/kernel/qapplication_x11.cpp
+@@ -5401,8 +5401,10 @@
+ qt_auto_repeat_data *d = (qt_auto_repeat_data *) arg;
+ if (d->error ||
+ event->xkey.window != d->window ||
+- event->xkey.keycode != d->keycode)
++ event->xkey.keycode != d->keycode) {
++ d->error = TRUE;
+ return FALSE;
++ }
+
+ if (event->type == XKeyPress) {
+ d->error = (! d->release || event->xkey.time - d->timestamp > 10);