Re: Pinboard mods

Thomas Leonard <[email protected]> Tue, 14 Jul 2009 17:59:34 +0100
Newsgroups gmane.comp.desktop.rox.devel
Message-ID <[email protected]>
2009/7/13 Neil Graham <[email protected]>:
> I'm looking at adding support for individual icon layouts per desktop to
> ROX-Filer.
>
> I have a klunky setup at the moment  where I can switch with a ROX-Filer -
> p=$DESKTOPNAME,  It is not terribly speedy and also flickers.
>
> Most of flicker should be fixable with a clean-slate function in place of
> Destroying and creating a new window.  I can make a clean slate function
> that gets called instead of create_pinboard_window() which can decide
> whether to reuse the existing window.
>
> I'd like to catch _NET_CURRENT_DESKTOP within ROX-Filer,  but I'm not
> certain how to detect root window messages in gtk.  So far all of the
> code I have found from other people detecting desktop changes have either
> been using libwnck or polling.
>
> Any advice on how to do this would be appreciated.  I've spent an age
> trying to figure out the _NET_CURRENT_DESKTOP  thing.

Probably best to look at how tasklist.c does it (tasklist_set_active).


-- 
Dr Thomas Leonard		ROX desktop / Zero Install
GPG: 9242 9807 C985 3C07 44A6  8B9A AE07 8280 59A5 3CC1

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge