You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
805 B
22 lines
805 B
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).
|
|
|
|
--- work/qt-x11-free-3.3.8/src/kernel/qapplication_x11.cpp.sav 2004-10-07 15:38:05.000000000 +0200
|
|
+++ work/qt-x11-free-3.3.8/src/kernel/qapplication_x11.cpp 2004-10-12 11:46:32.513137808 +0200
|
|
@@ -5294,8 +5294,10 @@ static Bool qt_keypress_scanner(Display
|
|
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);
|