summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--metacity.spec8
-rw-r--r--skip-taskbar-tab.patch12
2 files changed, 19 insertions, 1 deletions
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 <mclasen@redhat.com> - 2.21.5-3
+- Make skip-taskbar windows appear in the ctrl-alt-tab list
+
* Thu Dec 20 2007 Colin Walters <walters@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.
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))
+