mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
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
This commit is contained in:
parent
af0934759d
commit
fe5a380496
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=94460
12
x11/kde4-baseapps/files/patch-kdesktop-lockeng.cc
Normal file
12
x11/kde4-baseapps/files/patch-kdesktop-lockeng.cc
Normal file
@ -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;
|
||||
}
|
||||
|
12
x11/kde4-runtime/files/patch-kdesktop-lockeng.cc
Normal file
12
x11/kde4-runtime/files/patch-kdesktop-lockeng.cc
Normal file
@ -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;
|
||||
}
|
||||
|
12
x11/kde4-workspace/files/patch-kdesktop-lockeng.cc
Normal file
12
x11/kde4-workspace/files/patch-kdesktop-lockeng.cc
Normal file
@ -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;
|
||||
}
|
||||
|
12
x11/kdebase3/files/patch-kdesktop-lockeng.cc
Normal file
12
x11/kdebase3/files/patch-kdesktop-lockeng.cc
Normal file
@ -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;
|
||||
}
|
||||
|
12
x11/kdebase4-runtime/files/patch-kdesktop-lockeng.cc
Normal file
12
x11/kdebase4-runtime/files/patch-kdesktop-lockeng.cc
Normal file
@ -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;
|
||||
}
|
||||
|
12
x11/kdebase4-workspace/files/patch-kdesktop-lockeng.cc
Normal file
12
x11/kdebase4-workspace/files/patch-kdesktop-lockeng.cc
Normal file
@ -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;
|
||||
}
|
||||
|
12
x11/kdebase4/files/patch-kdesktop-lockeng.cc
Normal file
12
x11/kdebase4/files/patch-kdesktop-lockeng.cc
Normal file
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user