[mutter] Only put demands-attention windows into alt-tab if of appropriate type
- From: Owen Taylor <otaylor src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [mutter] Only put demands-attention windows into alt-tab if of appropriate type
- Date: Wed, 10 Feb 2010 19:40:10 +0000 (UTC)
commit bacccafe3cade697f8750ba08fe4f7e09a25fe6d
Author: Matt Kraai <kraai ftfbs org>
Date: Sun Feb 8 00:22:12 2009 +0000
Only put demands-attention windows into alt-tab if of appropriate type
Windows demanding attention should never appear in the alt-tab list
unless they're of a type which might have appeared there anyway. This
solves a problem under AWN where docks which were marked as demanding
attention appeared in all alt-tab lists; they were irrelevant and it
was impossible to remove them from the lists.
svn path=/trunk/; revision=4123
src/core/display.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/core/display.c b/src/core/display.c
index 4c45fa0..a2d4ef5 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -4564,7 +4564,8 @@ meta_display_get_tab_list (MetaDisplay *display,
/* Check to see if it demands attention */
if (l_window->wm_state_demands_attention &&
- l_window->workspace!=workspace)
+ l_window->workspace!=workspace &&
+ IN_TAB_CHAIN (l_window, type))
{
/* if it does, add it to the popup */
tab_list = g_list_prepend (tab_list, l_window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]