From 7275b1bccfce2c59c7710b4d0774d64d7fc1ef5c Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 3 Feb 2008 06:28:38 +0000 Subject: Make skip-taskbar windows appear in the ctrl-alt-tab list --- metacity.spec | 8 +++++++- skip-taskbar-tab.patch | 12 ++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 skip-taskbar-tab.patch diff --git a/metacity.spec b/metacity.spec index 17da321..a6af625 100644 --- a/metacity.spec +++ b/metacity.spec @@ -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 @@ API. This package exists purely for technical reasons. %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 @@ fi %{_mandir}/man1/metacity-window-demo.1.gz %changelog +* Sun Feb 3 2008 Matthias Clasen - 2.21.5-3 +- Make skip-taskbar windows appear in the ctrl-alt-tab list + * Thu Dec 20 2007 Colin Walters - 2.21.5-2 - Add patch for avoiding moving windows across workspaces This makes clicking on links in firefox do what you want. diff --git a/skip-taskbar-tab.patch b/skip-taskbar-tab.patch new file mode 100644 index 0000000..57253e6 --- /dev/null +++ b/skip-taskbar-tab.patch @@ -0,0 +1,12 @@ +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)) + -- cgit