[compiz] [PATCH] plugin conflict between Minimize & Animation: add feature "windowanimations"

Erkin Bahceci erkinbah at gmail.com
Mon Jul 2 21:32:10 PDT 2007


Hi,

The minimize plugin conflicts with Animation. For example, it doesn't
let Animation draw shade animations, and interferes with other window
event animations. The animation plugin now minimizes the relevant
effects to taskbar, so using the two plugins together doesn't make
sense anymore. Moreover, by default Animation is off, Minimize is on,
and when users enable Animation, naturally they don't know they should
disable Minimize, or they forget to do so, which results in bad
animations. (e.g. "magic lamp" zooming to taskbar). So here is a patch
to minimize's metadata to state that it provides a feature
"windowanimations", which Animation also provides, to ensure that they
are not used at the same time.

Any comments on the Fade patch by the way?

Regards,
Erkin
-------------- next part --------------
From 0425be6540e580f6a977ed92c3c20331dbdf8a13 Mon Sep 17 00:00:00 2001
From: Erkin Bahceci <erkinbah at gmail.com>
Date: Tue, 3 Jul 2007 00:20:08 -0400
Subject: [PATCH] Add feature "windowanimations" to Minimize metadata.

---
 metadata/minimize.xml.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/metadata/minimize.xml.in b/metadata/minimize.xml.in
index 1914304..8874208 100644
--- a/metadata/minimize.xml.in
+++ b/metadata/minimize.xml.in
@@ -2,6 +2,7 @@
     <plugin name="minimize">
 	<_short>Minimize Effect</_short>
 	<_long>Transform windows when they are minimized and unminimized</_long>
+	<feature>windowanimations</feature>
 	<deps>
 		<relation type="before">
 			<plugin>cube</plugin>
-- 
1.4.4.2


More information about the compiz mailing list