[compiz] [PATCH] Allow plugins to wrap enterShowDesktopMode
David Reveman
davidr at novell.com
Tue Feb 6 17:02:27 PST 2007
On Sun, 2007-01-28 at 16:48 +0000, Mike Dransfield wrote:
> I wrote this so that the plugins can wrap
> enter/leaveShowDesktopMode. This means that
> there will be consistency with keybindings and
> plugins which initiate showdesktop will always
> use the same effect.
>
> My idea is that the plugin will wrap each function
> and then set w->inShowDesktopMode for all the windows
> that it moves/modifies. It should then call the core
> function which will hide any windows that do not have
> inShowDesktopMode set and then set the hint on the root
> window. This should make it slightly easier to write
> show desktop plugins.
Sounds good.
Thanks,
- David
More information about the compiz
mailing list