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

List:       kde-bugs-dist
Subject:    [Bug 164786] Some gtk apps don't show on the systemtray
From:       Sebastian Sauer <mail () dipe ! org>
Date:       2008-07-09 4:44:18
Message-ID: 20080709044418.25416.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
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);
}


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

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