Hello community,

here is the log from the commit of package compiz for openSUSE:Factory
checked in at Mon Feb 21 17:16:13 CET 2011.



--------
--- compiz/compiz.changes       2011-02-12 19:14:56.000000000 +0100
+++ /mounts/work_src_done/STABLE/compiz/compiz.changes  2011-02-21 
15:27:05.000000000 +0100
@@ -1,0 +2,11 @@
+Mon Feb 21 15:26:24 CET 2011 - [email protected]
+
+- Added support for translation-update-upstream.
+
+-------------------------------------------------------------------
+Sun Feb 20 16:59:27 UTC 2011 - [email protected]
+
+- Add compiz-kde-w-d.patch: bnc#671672: Maximizing Windows doesn't
+  work any more with latest compiz packages.
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  compiz-kde-w-d.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ compiz.spec ++++++
--- /var/tmp/diff_new_pack.o1ILuD/_old  2011-02-21 17:11:12.000000000 +0100
+++ /var/tmp/diff_new_pack.o1ILuD/_new  2011-02-21 17:11:12.000000000 +0100
@@ -20,7 +20,7 @@
 
 Name:           compiz
 Version:        0.9.2.1
-Release:        2
+Release:        8
 License:        GPLv2+ ; MIT License (or similar)
 Summary:        OpenGL window and compositing manager
 Url:            http://www.compiz.org
@@ -32,6 +32,8 @@
 Source99:       update.sh
 # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/Packaging/Patches
 Patch0:         0001-Use-dynamic-allocation-for-plugin-class-indexes-and-.patch
+# PATCH-FIX-UPSTREAM compiz-kde-w-d.patch bnc#671672 [email protected] -- 
Fix kde window decorator maximize/minimize
+Patch1:         compiz-kde-w-d.patch
 BuildRequires:  Mesa-devel
 BuildRequires:  boost-devel
 BuildRequires:  cairo-devel
@@ -48,6 +50,7 @@
 BuildRequires:  pango-devel
 BuildRequires:  pkg-config
 BuildRequires:  startup-notification-devel
+BuildRequires:  translation-update-upstream
 BuildRequires:  update-desktop-files
 BuildRequires:  xorg-x11-devel
 %if %suse_version >= 1130
@@ -171,9 +174,11 @@
 %lang_package
 %prep
 %setup -q -n %{name}
+translation-update-upstream po compiz
 %if 0%{?suse_version} > 1120
 %patch0 -p1
 %endif
+%patch1 -p1
 mkdir build
 
 %build

++++++ compiz-kde-w-d.patch ++++++
diff --git a/plugins/decor/src/decor.cpp b/plugins/decor/src/decor.cpp
index c82d043..985ab5c 100644
--- a/plugins/decor/src/decor.cpp
+++ b/plugins/decor/src/decor.cpp
@@ -989,10 +989,8 @@ DecorWindow::update (bool allowDecoration)
 void
 DecorWindow::updateFrame ()
 {
-    if (!wd || !(wd->decor->input.left || wd->decor->input.left ||
-       wd->decor->input.left || wd->decor->input.bottom) ||
-       !(wd->decor->maxInput.left || wd->decor->maxInput.left ||
-       wd->decor->maxInput.left || wd->decor->maxInput.bottom) ||
+    if (!wd || !(window->input ().left || window->input ().right ||
+                window->input ().top || window->input ().bottom) ||
         (wd->decor->type == WINDOW_DECORATION_TYPE_PIXMAP && outputFrame) ||
         (wd->decor->type == WINDOW_DECORATION_TYPE_WINDOW && inputFrame))
     {
@@ -1001,6 +999,7 @@ DecorWindow::updateFrame ()
            XDeleteProperty (screen->dpy (), window->id (),
                             dScreen->inputFrameAtom);
            XDestroyWindow (screen->dpy (), inputFrame);
+
            inputFrame = None;
            frameRegion = CompRegion ();
 
@@ -1026,10 +1025,8 @@ DecorWindow::updateFrame ()
            oldHeight = 0;
        }
     }
-    if (wd && (wd->decor->input.left || wd->decor->input.left ||
-       wd->decor->input.left || wd->decor->input.bottom ||
-       wd->decor->maxInput.left || wd->decor->maxInput.left ||
-       wd->decor->maxInput.left || wd->decor->maxInput.bottom))
+    if (wd && (window->input ().left || window->input ().right ||
+              window->input ().top || window->input ().bottom))
     {
        if (wd->decor->type == WINDOW_DECORATION_TYPE_PIXMAP)
            updateInputFrame ();




++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to