[Bug 164786] Some gtk apps don't show on the systemtray
Sebastian Sauer
mail at dipe.org
Wed Jul 9 06:44:17 CEST 2008
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=164786
------- Additional Comments From mail dipe org 2008-07-09 06:44 -------
and for the case the fix does not work as expected, following seems to also provide some kind of result (though then it seems the event->xreparent.parent looses it's position);
bool SystemTrayContainer::x11Event(XEvent *event)
{
if(event->type == ReparentNotify) {
XWindowAttributes attr;
if( XGetWindowAttributes(QX11Info::display(), event->xreparent.parent, &attr) && attr.map_state == IsUnmapped ) {
XMapWindow(QX11Info::display(), event->xreparent.parent);
}
}
return QX11EmbedContainer::x11Event(event);
}
More information about the Panel-devel
mailing list