From 5d4876671f0d4461f17f3980e8b31405577b8ba1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Mon, 20 Feb 2006 14:33:39 +0000 Subject: [PATCH] Revert r499346, seems to cause some trouble. svn path=/trunk/KDE/kdebase/workspace/; revision=511621 --- events.cpp | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/events.cpp b/events.cpp index 57bca55346..8aced29952 100644 --- a/events.cpp +++ b/events.cpp @@ -322,17 +322,9 @@ bool Workspace::workspaceEvent( XEvent * e ) return ( e->xunmap.event != e->xunmap.window ); // hide wm typical event from Qt } case MapNotify: - { -#if KDE_IS_VERSION( 3, 9, 90 ) -#warning Consider dumping this workaround. -#endif - // See bug #100177, especially comments #6 and #14. This workaround shouldn't be - // necessary when X.org with that fix becomes available and it's an unnecessary - // X roundtrip for an experimental unstable feature. - if( addSystemTrayWin( e->xmap.window )) - return true; + return ( e->xmap.event != e->xmap.window ); // hide wm typical event from Qt - } + case ReparentNotify: { //do not confuse Qt with these events. After all, _we_ are the