From fe5a380496f966d43386d8a817e13a9b0f867e62 Mon Sep 17 00:00:00 2001 From: Tilman Keskinoz Date: Thu, 20 Nov 2003 12:29:57 +0000 Subject: Add a patch that should fix the "A window and A desktop icon sometimes have keyboard focus at the same time". No PORTREVISION bump, since only very few people noticed this. Reported by: arved, dwhite, Andy Fawcett Obtained from: bugs.kde.org --- x11/kdebase4-runtime/files/patch-kdesktop-lockeng.cc | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 x11/kdebase4-runtime/files/patch-kdesktop-lockeng.cc (limited to 'x11/kdebase4-runtime/files') diff --git a/x11/kdebase4-runtime/files/patch-kdesktop-lockeng.cc b/x11/kdebase4-runtime/files/patch-kdesktop-lockeng.cc new file mode 100644 index 000000000000..9841e698ec06 --- /dev/null +++ b/x11/kdebase4-runtime/files/patch-kdesktop-lockeng.cc @@ -0,0 +1,12 @@ +--- kdesktop/lockeng.cc.orig Fri Sep 26 11:28:03 2003 ++++ kdesktop/lockeng.cc Fri Sep 26 11:31:15 2003 +@@ -277,6 +277,9 @@ + { + if (!event->xkey.send_event && mXAutoLock && mState == Waiting) + mXAutoLock->keyPressed(); ++ // don't further process key events that were received only because XAutoLock wants them ++ if (!event->xkey.send_event && mXAutoLock && !QWidget::find( event->xkey.window )) ++ return true; + break; + } + -- cgit v1.2.3