[compiz] decoration mask

Mike Dransfield mike at blueroot.co.uk
Fri Mar 2 06:46:26 PST 2007


Travis Watkins wrote:
> Beryl has this mask called PAINT_WINDOW_DECORATION_MASK that the
> decoration plugin sets when it's drawing the decorator windows. It
> lets you apply an effect to a window that doesn't affect the
> decorations. Does this sound like something that would be useful in
> compiz?


OK - I found it in the end :)

!(mask & PAINT_WINDOW_DECORATION_MASK)

is replaced with

(texture->name == w->texture->name)

I assuming you are looking at the fakeargb plugin?  I tested it
with this replacement and it works (I suppose the same would
work on beryl too)

The original reference was the patch sent here

http://lists.freedesktop.org/archives/compiz/2006-October/000689.html

It refers to PAINT_WINDOW_DECORATION_MASK



More information about the compiz mailing list