summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11/kde4-baseapps/files/patch-kdesktop-lockeng.cc12
-rw-r--r--x11/kde4-runtime/files/patch-kdesktop-lockeng.cc12
-rw-r--r--x11/kde4-workspace/files/patch-kdesktop-lockeng.cc12
-rw-r--r--x11/kdebase3/files/patch-kdesktop-lockeng.cc12
-rw-r--r--x11/kdebase4-runtime/files/patch-kdesktop-lockeng.cc12
-rw-r--r--x11/kdebase4-workspace/files/patch-kdesktop-lockeng.cc12
-rw-r--r--x11/kdebase4/files/patch-kdesktop-lockeng.cc12
7 files changed, 84 insertions, 0 deletions
diff --git a/x11/kde4-baseapps/files/patch-kdesktop-lockeng.cc b/x11/kde4-baseapps/files/patch-kdesktop-lockeng.cc
new file mode 100644
index 000000000000..9841e698ec06
--- /dev/null
+++ b/x11/kde4-baseapps/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;
+ }
+
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 000000000000..9841e698ec06
--- /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;
+ }
+
diff --git a/x11/kde4-workspace/files/patch-kdesktop-lockeng.cc b/x11/kde4-workspace/files/patch-kdesktop-lockeng.cc
new file mode 100644
index 000000000000..9841e698ec06
--- /dev/null
+++ b/x11/kde4-workspace/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;
+ }
+
diff --git a/x11/kdebase3/files/patch-kdesktop-lockeng.cc b/x11/kdebase3/files/patch-kdesktop-lockeng.cc
new file mode 100644
index 000000000000..9841e698ec06
--- /dev/null
+++ b/x11/kdebase3/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;
+ }
+
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;
+ }
+
diff --git a/x11/kdebase4-workspace/files/patch-kdesktop-lockeng.cc b/x11/kdebase4-workspace/files/patch-kdesktop-lockeng.cc
new file mode 100644
index 000000000000..9841e698ec06
--- /dev/null
+++ b/x11/kdebase4-workspace/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;
+ }
+
diff --git a/x11/kdebase4/files/patch-kdesktop-lockeng.cc b/x11/kdebase4/files/patch-kdesktop-lockeng.cc
new file mode 100644
index 000000000000..9841e698ec06
--- /dev/null
+++ b/x11/kdebase4/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;
+ }
+