rpms/metacity/devel skip-taskbar-tab.patch, NONE, 1.1 metacity.spec, 1.141, 1.142

Matthias Clasen (mclasen) fedora-extras-commits at redhat.com
Sun Feb 3 06:29:18 UTC 2008


Author: mclasen

Update of /cvs/extras/rpms/metacity/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5660

Modified Files:
	metacity.spec 
Added Files:
	skip-taskbar-tab.patch 
Log Message:
Make skip-taskbar windows appear in the ctrl-alt-tab list


skip-taskbar-tab.patch:

--- NEW FILE skip-taskbar-tab.patch ---
diff -up metacity-2.21.5/src/window.h.skip-taskbar-tab metacity-2.21.5/src/window.h
--- metacity-2.21.5/src/window.h.skip-taskbar-tab	2008-02-03 01:21:30.000000000 -0500
+++ metacity-2.21.5/src/window.h	2008-02-03 01:21:34.000000000 -0500
@@ -558,7 +558,7 @@ gboolean meta_window_same_application (M
 #define META_WINDOW_IN_NORMAL_TAB_CHAIN(w) \
   (((w)->input || (w)->take_focus ) && META_WINDOW_IN_NORMAL_TAB_CHAIN_TYPE (w) && (!(w)->skip_taskbar))
 #define META_WINDOW_IN_DOCK_TAB_CHAIN(w) \
-  (((w)->input || (w)->take_focus) && ! META_WINDOW_IN_NORMAL_TAB_CHAIN_TYPE (w))
+  (((w)->input || (w)->take_focus) && (! META_WINDOW_IN_NORMAL_TAB_CHAIN_TYPE (w) || (w)->skip_taskbar))
 #define META_WINDOW_IN_GROUP_TAB_CHAIN(w, g) \
   (((w)->input || (w)->take_focus) && (!g || meta_window_get_group(w)==g))
 


Index: metacity.spec
===================================================================
RCS file: /cvs/extras/rpms/metacity/devel/metacity.spec,v
retrieving revision 1.141
retrieving revision 1.142
diff -u -r1.141 -r1.142
--- metacity.spec	20 Dec 2007 17:23:18 -0000	1.141
+++ metacity.spec	3 Feb 2008 06:28:38 -0000	1.142
@@ -7,12 +7,14 @@
 Summary: Metacity window manager
 Name: metacity
 Version: %{metacity_version}
-Release: 2%{?dist}
+Release: 3%{?dist}
 URL: http://download.gnome.org/sources/metacity/
 Source0: http://download.gnome.org/sources/metacity/2.21/%{metacity_filename}.tar.bz2
 Patch0: default-theme.patch
 # http://bugzilla.gnome.org/show_bug.cgi?id=482354
 Patch1: metacity-2.20.1-dont-move-windows.patch
+# http://bugzilla.gnome.org/show_bug.cgi?id=106249
+Patch2: skip-taskbar-tab.patch
 License: GPLv2+
 Group: User Interface/Desktops
 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -68,6 +70,7 @@
 %setup -q -n %{metacity_filename}
 %patch0 -p1 -b .default-theme
 %patch1 -p1 -b .dont-move-windows
+%patch2 -p1 -b .skip-taskbar-tab
 
 %build
 rm -rf $RPM_BUILD_ROOT
@@ -154,6 +157,9 @@
 %{_mandir}/man1/metacity-window-demo.1.gz
 
 %changelog
+* Sun Feb  3 2008 Matthias Clasen <mclasen at redhat.com> - 2.21.5-3
+- Make skip-taskbar windows appear in the ctrl-alt-tab list
+
 * Thu Dec 20 2007 Colin Walters <walters at redhat.com> - 2.21.5-2
 - Add patch for avoiding moving windows across workspaces
   This makes clicking on links in firefox do what you want.




More information about the fedora-extras-commits mailing list