rpms/compiz/devel thumbnail-sorting.patch, NONE, 1.1 compiz.spec, 1.37, 1.38
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Fri Sep 15 17:04:45 UTC 2006
Author: sandmann
Update of /cvs/dist/rpms/compiz/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv25699
Modified Files:
compiz.spec
Added Files:
thumbnail-sorting.patch
Log Message:
Add patch to sort thumbnails
thumbnail-sorting.patch:
switcher.c | 6 ++++++
1 files changed, 6 insertions(+)
--- NEW FILE thumbnail-sorting.patch ---
--- compiz-3173a142efe5e7af83ebb534a074d9d2a0c67a86/plugins/switcher.c.thumbnail-sorting 2006-09-15 11:30:07.000000000 -0400
+++ compiz-3173a142efe5e7af83ebb534a074d9d2a0c67a86/plugins/switcher.c 2006-09-15 12:49:38.000000000 -0400
@@ -510,6 +510,12 @@
CompWindow *w1 = *((CompWindow **) elem1);
CompWindow *w2 = *((CompWindow **) elem2);
+ if (w1->mapNum && !w2->mapNum)
+ return -1;
+
+ if (w2->mapNum && !w1->mapNum)
+ return 1;
+
return w2->activeNum - w1->activeNum;
}
Index: compiz.spec
===================================================================
RCS file: /cvs/dist/rpms/compiz/devel/compiz.spec,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- compiz.spec 14 Sep 2006 21:57:42 -0000 1.37
+++ compiz.spec 15 Sep 2006 17:04:43 -0000 1.38
@@ -48,6 +48,7 @@
Patch107: cow.patch
Patch108: plane.patch
Patch109: double-click.patch
+Patch110: thumbnail-sorting.patch
%description
Compiz is one of the first OpenGL-accelerated compositing window
@@ -86,6 +87,7 @@
%patch107 -p1 -b .cow
%patch108 -p1 -b .plane
%patch109 -p1 -b .double-click
+%patch110 -p1 -b .thumbnail-sorting
%build
rm -rf $RPM_BUILD_ROOT
@@ -154,6 +156,9 @@
%{_includedir}/compiz
%changelog
+* Fri Sep 15 2006 Soren Sandmann <sandmann at redhat.com>
+- Add patch to fix thumbnail sorting (bug 201605)
+
* Thu Sep 14 2006 Soren Sandmann <sandmann at redhat.com>
- Add patch to fix double clicking (bug 201783).
More information about the fedora-cvs-commits
mailing list