rpms/compiz/devel compiz-0.7.6-decoration-size.patch, NONE, 1.1 compiz.spec, 1.125, 1.126

Adel Gadllah (drago01) fedora-extras-commits at redhat.com
Fri Jun 6 10:54:21 UTC 2008


Author: drago01

Update of /cvs/pkgs/rpms/compiz/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18642

Modified Files:
	compiz.spec 
Added Files:
	compiz-0.7.6-decoration-size.patch 
Log Message:
Only move placed windows on decoration size changes; backport from head

compiz-0.7.6-decoration-size.patch:

--- NEW FILE compiz-0.7.6-decoration-size.patch ---
diff -upNr compiz-0.7.6.orign/plugins/decoration.c compiz-0.7.6/plugins/decoration.c
--- compiz-0.7.6.orign/plugins/decoration.c	2008-05-29 13:58:17.000000000 +0200
+++ compiz-0.7.6/plugins/decoration.c	2008-06-06 12:48:33.000000000 +0200
@@ -831,7 +831,7 @@ decorWindowUpdate (CompWindow *w,
 	moveDy = -oldShiftY;
     }
 
-    if (!w->attrib.override_redirect && (moveDx || moveDy))
+    if (w->placed && !w->attrib.override_redirect && (moveDx || moveDy))
     {
 	XWindowChanges xwc;
 	unsigned int   mask = CWX | CWY;


Index: compiz.spec
===================================================================
RCS file: /cvs/pkgs/rpms/compiz/devel/compiz.spec,v
retrieving revision 1.125
retrieving revision 1.126
diff -u -r1.125 -r1.126
--- compiz.spec	5 Jun 2008 19:27:48 -0000	1.125
+++ compiz.spec	6 Jun 2008 10:53:36 -0000	1.126
@@ -14,7 +14,7 @@
 License:        X11/MIT/GPL
 Group:          User Interface/Desktops
 Version:        0.7.6
-Release:        2%{?dist}
+Release:        3%{?dist}
 
 Summary:        OpenGL window and compositing manager
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -57,6 +57,8 @@
 Patch105: fedora-logo.patch
 Patch106: redhat-logo.patch
 #Patch110: scale-key.patch
+# upstream commit 45caca2220f75bfd20074c217ebee10825413547
+Patch111: compiz-0.7.6-decoration-size.patch
 
 %description
 Compiz is one of the first OpenGL-accelerated compositing window
@@ -337,6 +339,9 @@
 
 
 %changelog
+* Thu Jun 05 2008 Adel Gadllah <adel.gadllah at gmail.com> - 0.7.6-3
+- Only move placed windows on decoration size changes
+
 * Thu Jun 05 2008 Adel Gadllah <adel.gadllah at gmail.com> - 0.7.6-2
 - Don't require compiz-fusion in the main package
 




More information about the fedora-extras-commits mailing list