rpms/compiz/devel compiz-always-restack-windows-on-map.patch, NONE, 1.1 compiz.spec, 1.105, 1.106

Warren Togami (wtogami) fedora-extras-commits at redhat.com
Wed Oct 10 20:21:05 UTC 2007


Author: wtogami

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

Modified Files:
	compiz.spec 
Added Files:
	compiz-always-restack-windows-on-map.patch 
Log Message:
- 0.6.0 final
- always-restack-windows-on-map 

(0.5.2 to 0.6.0 looks like a big jump, but we were already running a 0.6.0 snapshot.)


compiz-always-restack-windows-on-map.patch:

--- NEW FILE compiz-always-restack-windows-on-map.patch ---
http://lists.freedesktop.org/archives/compiz/2007-October/002697.html

From: Danny Baumann <dannybaumann at web.de>
Date: Tue, 2 Oct 2007 05:16:00 +0000 (+0200)
Subject: We always need to restack windows on map. Newly created windows are placed on top ...
X-Git-Tag: start
X-Git-Url: http://gitweb.freedesktop.org/?p=xorg/app/compiz.git;a=commitdiff;h=b6c6acc70261d0942977441914c23e7a1c99215e

We always need to restack windows on map. Newly created windows are placed on top of the stack first, which is not desired for some windows that may be denied focus (such as desktop windows).
This commit reverts commit 67648904b15c7781000a212a122b558a2d2afcf6.
---

--- a/src/event.c
+++ b/src/event.c
@@ -1922,10 +1922,7 @@ handleEvent (CompDisplay *d,
 
 		allowFocus = allowWindowFocus (w);
 
-		if (allowFocus)
-		    updateWindowAttributes (w, CompStackingUpdateModeNormal);
-		else
-		    updateWindowAttributes (w, CompStackingUpdateModeNone);
+		updateWindowAttributes (w, CompStackingUpdateModeNormal);
 
 		if (!allowFocus &&
 		    (w->type & ~(CompWindowTypeSplashMask |


Index: compiz.spec
===================================================================
RCS file: /cvs/pkgs/rpms/compiz/devel/compiz.spec,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -r1.105 -r1.106
--- compiz.spec	9 Oct 2007 20:29:33 -0000	1.105
+++ compiz.spec	10 Oct 2007 20:20:32 -0000	1.106
@@ -1,4 +1,3 @@
-%define		snapshot	6b86f3
 %define		dialogversion	0.7.7
 
 %define		core_plugins	blur clone cube dbus decoration fade ini inotify minimize move place plane png regex resize rotate scale screenshot switcher video water wobbly zoom
@@ -13,8 +12,8 @@
 URL:            http://www.go-compiz.org
 License:        X11/MIT/GPL
 Group:          User Interface/Desktops
-Version:        0.5.2
-Release:        14.%{snapshot}%{?dist}
+Version:        0.6.0
+Release:        1%{?dist}
 
 Summary:        OpenGL window and compositing manager
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -44,10 +43,11 @@
 BuildRequires:  kdebase-devel, kdelibs-devel
 BuildRequires:	dbus-qt-devel
 
-Source0:        %{name}-%{snapshot}.tar.gz
+Source0:        %{name}-%{version}.tar.gz
 Source1:	desktop-effects-%{dialogversion}.tar.bz2
 
 Patch0:   compiz-synthetic-configure-notify-events.patch
+Patch1:   compiz-always-restack-windows-on-map.patch
 # Patches that are not upstream
 Patch103: composite-cube-logo.patch
 Patch105: fedora-logo.patch
@@ -107,9 +107,10 @@
 
 %prep
 %setup -q -T -b1 -n desktop-effects-%{dialogversion}
-%setup -q  -n compiz-%{snapshot}
+%setup -q 
 
 %patch0 -p1 -b .synthetic-configure-notify-events
+%patch1 -p1 -b .always-restack-windows-on-map
 %patch103 -p1 -b .composite-cube-logo
 %if 0%{?fedora}
 %patch105 -p1 -b .fedora-logo
@@ -275,6 +276,10 @@
 
 
 %changelog
+* Wed Oct 10 2007 Warren Togami <wtogami at redhat.com> - 0.6.0-1
+- 0.6.0 final
+- always-restack-windows-on-map 
+
 * Tue Oct  9 2007 Warren Togami <wtogami at redhat.com> - 0.5.2-14
 - Make compiz behave with gnome-terminal (#304051)
 




More information about the fedora-extras-commits mailing list