[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE_3_1_BRANCH: kdebase/kdesktop
From: Luboš Luňák <l.lunak () kde ! org>
Date: 2003-09-16 13:57:41
[Download RAW message or body]
CVS commit by lunakl:
This XAutoLock thing is such an ugly hack. This should fix kdesktop
occassionally getting keyboard events also from other windows.
M +3 -0 lockeng.cc 1.53.2.2
--- kdebase/kdesktop/lockeng.cc #1.53.2.1:1.53.2.2
@@ -278,4 +278,7 @@ bool SaverEngine::x11Event(XEvent *event
if (!event->xkey.send_event && mXAutoLock && mState == Waiting)
mXAutoLock->keyPressed();
+ // don't futher 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;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic