From d5a484479f43026f50a23f6453208dff158455bd Mon Sep 17 00:00:00 2001 From: Elijah Newren Date: Fri, 24 Dec 2004 15:43:46 +0000 Subject: Thanks to mild7@users.sourceforge.net for this fix. 2004-12-24 Elijah Newren 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) --- ChangeLog | 8 ++++++++ src/window.h | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 77606393..2da1d8da 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2004-12-24 Elijah Newren + + 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 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)) -- cgit v1.2.1