AW: [compiz] [PATCH] Notification on window restacking
Danny Baumann
dannybaumann at web.de
Sat Mar 24 11:33:09 PDT 2007
Hi,
> > This patch adds notification on window restacking. Plugins may need
> to
> > do something when that happens. For example, it is used in the new
> > version of animation plugin to perform a fade effect when a window
> > moves above or below other windows (in the plugin's settings this
> > effect is selected as a focus effect, but it's actually a restack
> > effect).
>
> Are you not able to listen for restacking client messages,
> or changes to _NET_CLIENT_LIST_STACKING ?
Client messages not necessarily lead to actual restacking. Besides that, we
have a number of notifies which could be replaced by listening to client
messages (such as state changes), but if every plugin listens to X messages
and decodes them for its own, IMO this will lead to quite a bit of overhead.
In the context of the other notifies, I think it makes sense to have a
restack notify.
Regards,
Danny
More information about the compiz
mailing list