[compiz] Thumbnail plugin
dannybaumann at web.de
Mon Jan 8 11:15:27 PST 2007
> 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.
More information about the compiz