From 1f4cc0d542c9116ea624b6c2fe8837bc7626f1ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Thu, 20 Nov 2003 11:56:01 +0000 Subject: [PATCH] Fix problem with kppp's systray icon reappearing (http://lists.kde.org/?l=kde-core-devel&m=106931968918881&w=2). svn path=/trunk/kdebase/kwin/; revision=268359 --- events.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/events.cpp b/events.cpp index ebccedd49b..6837c9b4f8 100644 --- a/events.cpp +++ b/events.cpp @@ -290,10 +290,6 @@ bool Workspace::workspaceEvent( XEvent * e ) case ReparentNotify: { - // Check if a systray has been reparented back to the root window, even if not mapped. - // QXEmbed doesn't map the window when reparenting back. - if( e->xreparent.parent == root ) - addSystemTrayWin( e->xreparent.window ); //do not confuse Qt with these events. After all, _we_ are the //window manager who does the reparenting. return TRUE;