Filter out FocusIn/FocusOut events. Should help #44881.

svn path=/trunk/kdebase/kwin/; revision=230888
This commit is contained in:
Luboš Luňák 2003-06-11 08:48:13 +00:00
parent ec073ab631
commit 3ea533d147

View file

@ -742,9 +742,8 @@ bool Workspace::workspaceEvent( XEvent * e )
return keyRelease(e->xkey); return keyRelease(e->xkey);
break; break;
case FocusIn: case FocusIn:
break;
case FocusOut: case FocusOut:
break; return true; // always eat these, they would tell Qt that KWin is the active app
default: default:
if ( e->type == Shape::shapeEvent() ) { if ( e->type == Shape::shapeEvent() ) {
c = findClient( ((XShapeEvent *)e)->window ); c = findClient( ((XShapeEvent *)e)->window );