[compiz] [PATCH] Grab state & Last state remembering

Danny Baumann dannybaumann at web.de
Mon Mar 5 23:38:43 PST 2007


Hi,

> This patch should be removed i think.
> 
> http://forum.go-compiz.org/viewtopic.php?p=5071#5071
> 
> I just post a version of group plugin working without lastState from core.
> 
> Danny, you can save previous window state in GroupWindow instead of core: look 
> at previousState variable i add.

Yes, you are right. But IMO, saving it locally still isn't perfect ;-)
The best way to go is what David just started: Using changeWindowState
instead of setWindowState (and keeping setWindowState static) so a state
diff (or the last state) can be passed along the state change notify.

Regards,

Danny



More information about the compiz mailing list