summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2004-12-24 15:43:46 +0000
committerElijah Newren <newren@src.gnome.org>2004-12-24 15:43:46 +0000
commitd5a484479f43026f50a23f6453208dff158455bd (patch)
treeb2e9091b09a49f46015fb7e4b1a38bb8bb354239
parent892cb8a8dd6bb480dfcdc0e5495baaca383ef5d9 (diff)
downloadmetacity-d5a484479f43026f50a23f6453208dff158455bd.tar.gz
Thanks to mild7@users.sourceforge.net for this fix.
2004-12-24 Elijah Newren <newren@gmail.com> Thanks to mild7@users.sourceforge.net for this fix. * src/window.h: (META_WINDOW_IN_NORMAL_TAB_CHAIN): Excludes windows with skip_taskbar hint set from the alt-tab list; they'll appear in the ctrl-alt-tab list instead. (fixes #106249)
-rw-r--r--ChangeLog8
-rw-r--r--src/window.h2
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 77606393..2da1d8da 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2004-12-24 Elijah Newren <newren@gmail.com>
+
+ Thanks to mild7@users.sourceforge.net for this fix.
+
+ * src/window.h: (META_WINDOW_IN_NORMAL_TAB_CHAIN): Excludes
+ windows with skip_taskbar hint set from the alt-tab list; they'll
+ appear in the ctrl-alt-tab list instead. (fixes #106249)
+
2004-12-22 Elijah Newren <newren@gmail.com>
Wrap XSetInputFocus, making display->expected_focus_window a
diff --git a/src/window.h b/src/window.h
index 035d9d1d..dca7e6de 100644
--- a/src/window.h
+++ b/src/window.h
@@ -484,7 +484,7 @@ gboolean meta_window_same_application (MetaWindow *window,
#define META_WINDOW_IN_NORMAL_TAB_CHAIN_TYPE(w) \
((w)->type != META_WINDOW_DOCK && (w)->type != META_WINDOW_DESKTOP)
#define META_WINDOW_IN_NORMAL_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_DOCK_TAB_CHAIN(w) \
(((w)->input || (w)->take_focus) && ! META_WINDOW_IN_NORMAL_TAB_CHAIN_TYPE (w))