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

List:       kde-devel
Subject:    Re: Bespin GlobalMenu with XBar Development,
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2010-08-24 17:56:18
Message-ID: 201008241056.18684.aseigo () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Sunday, August 22, 2010, Aaron Lewis wrote:
> So what , should i go through KDE DBus interface , get running task
> manager's WId ? Maybe not cool at all.

there is no such thing, really; there may be multiple window task lists in 
multiple top level windows which may or may not accept focus, along with 
multiple top level windows that do not have any window list widgets in them  
.. and this is all internal to plasma-desktop (or plasma-netbook or whatever) 
and isn't exported.

are you holding on to the last activated window id? if so, it may make more 
sense to hold on to the last window id that actually resulted in a menu.

also, if you aren't already, you can ignore windows of various types to make 
it easier, e.g.: NET::Dock, NET::Desktop, NET::TooBar, NET::Menu, NET::Dialog, 
NET::Splash, NET::ToolTip, etc... this will weed out a lot of windows that 
shouldn't result in changes to the top menu bar just because they appear and 
take focus...

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks

["signature.asc" (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


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

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