Hi,

>     oldDrawWindowGeometry = w->screen->drawWindowGeometry;
>     oldAddWindowGeometry = w->screen->addWindowGeometry;
> 
> 
> I have seen this type of thing in another beryl plugin
> can you explain the reasoning behind it?  I cannot work
> out what the thinking behind it is.

The idea is to get the unmodified window shape during a drawWindow call
- not a transformed (e.g. wobbly) one.
That's why DrawWindowGeometry and AddWindowGeometry are set to their
base functions before the drawWindow call and reset to the original
(wrapped) state after the call.

Regards,

Danny


_______________________________________________
compiz mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/compiz

Reply via email to