From 3ea533d147ab58238e8dbc1a743d42c6975e5fb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Wed, 11 Jun 2003 08:48:13 +0000 Subject: [PATCH] Filter out FocusIn/FocusOut events. Should help #44881. svn path=/trunk/kdebase/kwin/; revision=230888 --- workspace.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/workspace.cpp b/workspace.cpp index 366734073e..3b792dbfa3 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -742,9 +742,8 @@ bool Workspace::workspaceEvent( XEvent * e ) return keyRelease(e->xkey); break; case FocusIn: - break; case FocusOut: - break; + return true; // always eat these, they would tell Qt that KWin is the active app default: if ( e->type == Shape::shapeEvent() ) { c = findClient( ((XShapeEvent *)e)->window );