[compiz] Thumbnail plugin

Danny Baumann dannybaumann at web.de
Mon Jan 8 11:15:27 PST 2007


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




More information about the compiz mailing list