[compiz] [PATCH] plugin conflict resolution between Fade & Animation

Erkin Bahceci erkinbah at gmail.com
Thu Jul 5 02:21:22 PDT 2007


On 7/5/07, Danny Baumann <dannybaumann at web.de> wrote:
> Hi,
>
> > The patches I sent earlier apparently only worked for window closing.
> > Animation's activate event was too late for suppressing minimize/open
> > fading. Here are working patches that are also simpler, they don't
> > involve any compiz-event handling. Now Fade just checks at the
> > beginning whether animation is active or not.
>
> Adding inter-plugin awareness is something we always wanted to avoid
> IIRC. I have a different idea to resolve this conflict: Split fade.c to
> fade.c (which does only the opacity/brightness/saturation change fading)
> and fadewindow.c (which does the open/close/minimize fading). If we do
> that, fadewindow and animation could both provide a feature
> "windowfading" which would leave it up to the settings manager to
> resolve that conflict.
>
> Comments?
>
> Regards,
>
> Danny
>
>

Ok, David wanted something like that too IIRC.

But for the record, we already have inter-plugin awareness in the form
of compiz events. (e.g. Animation has to listen to the "scale",
"switcher" and "group" events to function correctly together with
those plugins).

Regards,
Erkin


More information about the compiz mailing list