[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdebase/kwin
From:       Luboš Luňák <l.lunak () kde ! org>
Date:       2003-10-31 17:56:10
[Download RAW message or body]

CVS commit by lunakl: 

Yet another workaround for the crappy systray mechanism, looking forward
to deprecate it. The tray should work again now.


  M +4 -0      events.cpp   1.35


--- kdebase/kwin/events.cpp  #1.34:1.35
@@ -291,4 +291,8 @@ bool Workspace::workspaceEvent( XEvent *
         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.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic