rpms/xfwm4/F-11 xfwm4-4.6.1-focus.patch, NONE, 1.1 xfwm4.spec, 1.34, 1.35

Kevin Fenzi kevin at fedoraproject.org
Wed Jul 29 02:29:00 UTC 2009


Author: kevin

Update of /cvs/extras/rpms/xfwm4/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13643

Modified Files:
	xfwm4.spec 
Added Files:
	xfwm4-4.6.1-focus.patch 
Log Message:
Add patch for focus issue (fixes bug #514206)


xfwm4-4.6.1-focus.patch:
 focus.c |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

--- NEW FILE xfwm4-4.6.1-focus.patch ---
diff -Nur xfwm4-4.6.1.orig/src/focus.c xfwm4-4.6.1/src/focus.c
--- xfwm4-4.6.1.orig/src/focus.c	2009-04-15 01:58:59.000000000 -0600
+++ xfwm4-4.6.1/src/focus.c	2009-07-28 19:31:44.000000000 -0600
@@ -214,7 +214,12 @@
     {
         Client *c2 = clientGetFocus();
 
-        if ((c2 != NULL) && (c2->win_layer == c->win_layer))
+        /*
+         * Place windows under the currently focused only if focus
+         * stealing prevention had prevented the focus transition,
+         * otherwise, leave the unfocused window on top.
+         */
+        if ((c2 != NULL) && (c2->win_layer == c->win_layer) && prevented)
         {
             clientSortRing(c);
             clientLower (c, c2->frame);


Index: xfwm4.spec
===================================================================
RCS file: /cvs/extras/rpms/xfwm4/F-11/xfwm4.spec,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -p -r1.34 -r1.35
--- xfwm4.spec	21 Apr 2009 02:31:29 -0000	1.34
+++ xfwm4.spec	29 Jul 2009 02:29:00 -0000	1.35
@@ -1,11 +1,12 @@
 Summary: Next generation window manager for Xfce
 Name: xfwm4
 Version: 4.6.1
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2+
 URL: http://www.xfce.org/
 Source0: http://www.xfce.org/archive/xfce-%{version}/src/xfwm4-%{version}.tar.bz2
 Patch0: xfwm4-4.5.92-nodoka.patch
+Patch1: xfwm4-4.6.1-focus.patch
 
 Group: User Interface/Desktops
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -29,6 +30,7 @@ xfwm4 is a window manager compatible wit
 %setup -q
 # use Nodoka Theme
 %patch0 -p1 -b .nodoka
+%patch1 -p1 -b .focus
 
 %build
 %configure  --disable-static
@@ -72,6 +74,9 @@ fi
 %{_libexecdir}/xfce4/xfwm4
 
 %changelog
+* Tue Jul 28 2009 Kevin Fenzi <kevin at tummy.com> - 4.6.1-3
+- Add patch for focus issue (fixes bug #514206)
+
 * Sun Apr 19 2009 Kevin Fenzi <kevin at tummy.com> - 4.6.1-1
 - Update to 4.6.1
 




More information about the fedora-extras-commits mailing list