Yet another workaround for the crappy systray mechanism, looking forward
to deprecate it. The tray should work again now. svn path=/trunk/kdebase/kwin/; revision=263494
This commit is contained in:
parent
50a9e9aa2e
commit
0d96e60c81
1 changed files with 4 additions and 0 deletions
|
@ -290,6 +290,10 @@ bool Workspace::workspaceEvent( XEvent * e )
|
||||||
|
|
||||||
case ReparentNotify:
|
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
|
//do not confuse Qt with these events. After all, _we_ are the
|
||||||
//window manager who does the reparenting.
|
//window manager who does the reparenting.
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in a new issue