[compiz] activateWindow() and shaded windows

Bellegarde Cedric gnumdk at gmail.com
Mon Feb 4 10:23:33 PST 2008


Le Tue, 22 Jan 2008 17:19:40 +0100,
Bellegarde Cedric <gnumdk at gmail.com> a écrit :

> Is there a particular reason for having this code in activateWindow
> function (window.c 4212)?
> 
>   if (w->state & CompWindowStateHiddenMask)
>     {   
>         w->state &= ~CompWindowStateShadedMask;
>         if (w->shaded)
>             showWindow (w);
>     }
> 
> It brake scale plugin unshading shaded windows on plugin terminate...

So, here two patchs to make windows unshading optional when calling activateWindow() ;)

First one for compiz-core.
Second one for plugin-extras.

--
Cédric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: groupUseOptionalUnshading.diff
Type: text/x-patch
Size: 936 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/compiz/attachments/20080204/eb58009a/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: optionalActivateWindowUnshading.diff
Type: text/x-patch
Size: 1577 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/compiz/attachments/20080204/eb58009a/attachment-0001.bin 


More information about the compiz mailing list