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; }