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? -- Travis Watkins http://www.realistanew.com
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?This was brought up last year and it was rejected because it didn't really fit with the other paint defines and there is another way to achieve the same effect. It was on the mailing list around October time, but I cannot find it.
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
On Fri, 2007-03-02 at 00:28 -0600, 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?Some of my plans for the drawing infrastructure in compiz will solve this problem nicely so if we can live without it for now, I'd be happy. - David