AW: Re: [compiz] [PATCH] minimize doesn't respect "no core
instance" flag
Danny Baumann
dannybaumann at web.de
Fri Mar 9 23:36:53 PST 2007
Hi,
> > A plugin wants to hide windows by preventing their drawing - that's all group wants to do.
> > What's the correct way to do that? From my understanding, that's NO_CORE_INSTANCE_MASK. If that's not true, what's the exact meaning of that flag?
> > Another way to do that would be to just return from paintWindow instead of calling the next plugin, but I think that's a bad solution.
>
> NO_CORE_INSTANCE_MASK just prevents the core from drawing it's instance
> of the window. There's currently no way to prevent other plugins from
> drawing a window and I'm not sure how an interface for doing that would
> best look like.
OK, if there is no proper way to do that yet and as you have promised
we'll have a nice interface for draing hidden windows soon ;-), I'll do
it the "unclean" way for now by just returning TRUE from drawWindow
instead of calling the next plugin in the chain. I realize there are
obvious problems with that (such as the need to be loaded after
decoration), but as this solution is only needed for a limited amount of
time, it should be good enough.
Regards,
Danny
More information about the compiz
mailing list