Blame SOURCES/0056-khotkeys_input_84434.patch

106311
qt-bugs@ issue : 58251
106311
bugs.kde.org number : 84434
106311
applied: no
106311
author: Lubos Lunak <l.lunak@kde.org>
106311
106311
Fixes keyboard input action in KHotKeys (see bug #84434).
106311
106311
--- src/kernel/qapplication_x11.cpp.sav	2004-10-07 15:38:05.000000000 +0200
106311
+++ src/kernel/qapplication_x11.cpp	2004-10-12 11:46:32.513137808 +0200
106311
@@ -5294,8 +5294,10 @@ static Bool qt_keypress_scanner(Display 
106311
     qt_auto_repeat_data *d = (qt_auto_repeat_data *) arg;
106311
     if (d->error ||
106311
         event->xkey.window  != d->window ||
106311
-        event->xkey.keycode != d->keycode)
106311
+        event->xkey.keycode != d->keycode) {
106311
+        d->error = TRUE;
106311
         return FALSE;
106311
+    }
106311
 
106311
     if (event->type == XKeyPress) {
106311
         d->error = (! d->release || event->xkey.time - d->timestamp > 10);