summaryrefslogtreecommitdiffstats
path: root/x11/kde4-runtime
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-11-20 12:29:57 +0000
committerarved <arved@FreeBSD.org>2003-11-20 12:29:57 +0000
commitdaa5881775c71fa1835894b503a3451b353bfdc8 (patch)
tree607ca142ac35bc7471ca3cc2e574a8c87565843c /x11/kde4-runtime
parentb615fe9ced146063dc34ef8093cd03ae2f44962b (diff)
downloadFreeBSD-ports-daa5881775c71fa1835894b503a3451b353bfdc8.zip
FreeBSD-ports-daa5881775c71fa1835894b503a3451b353bfdc8.tar.gz
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
Diffstat (limited to 'x11/kde4-runtime')
-rw-r--r--x11/kde4-runtime/files/patch-kdesktop-lockeng.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/x11/kde4-runtime/files/patch-kdesktop-lockeng.cc b/x11/kde4-runtime/files/patch-kdesktop-lockeng.cc
new file mode 100644
index 0000000..9841e69
--- /dev/null
+++ b/x11/kde4-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;
+ }
+
OpenPOWER on IntegriCloud