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
This commit is contained in:
Luboš Luňák 2003-11-20 11:56:01 +00:00
parent b3c1af874a
commit 1f4cc0d542

View file

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