[Qt-interest] How to know when pager switches to another virtual desktop (X11) ?
Colin S. Miller
no-spam-thank-you at csmiller.demon.co.uk
Tue May 25 20:42:34 CEST 2010
Zeljko wrote:
> Zeljko wrote:
>
>> Hi all,
>> When we switch virtual desktops (eg. under KDE), pager sends minimize to
>> app in previous active desktop. Is there any way to know that we are not
>> on current active desktop ?
>
> Fixed, by using Xlib directly, but would be nice to have such thing in
> QX11Info class (eg. currentApplicationDesktopNum, currentDesktopNum,
> windowManagerName) so we don't need to use Xlib for such basic things.
>
Zelko,
If you wish to improve Qt, you could convert your code into a Qt patch,
although I'm not sure how amenable the Trolls are to user-supplied patches.
Should you wish to make it cross-platform, then I know that MS-Windows
has a powertoy that implements a virtual desktop by iconifing the apps
and hiding them from the taskbar.
I'm not sure what other OS are like. MacOS will probably support virtual
desktops.
HTH,
Colin S. Miller
> zeljko
More information about the Qt-interest-old
mailing list