summaryrefslogtreecommitdiff
path: root/libwnck/tasklist.c
diff options
context:
space:
mode:
authorVincent Untz <vuntz@gnome.org>2007-06-19 22:17:18 +0000
committerVincent Untz <vuntz@src.gnome.org>2007-06-19 22:17:18 +0000
commit08c57e232ca9185245a7cb98e294eaddabc0d01e (patch)
tree6fc8be530781b5e8273a262062777788f25c41c2 /libwnck/tasklist.c
parent18fb9acb6bc570425f301e58192d5304b7fc7fdd (diff)
downloadlibwnck-08c57e232ca9185245a7cb98e294eaddabc0d01e.tar.gz
always show window needing attention. This worked with multiple workspace,
2007-06-20 Vincent Untz <vuntz@gnome.org> * libwnck/tasklist.c: (tasklist_include_window_impl): always show window needing attention. This worked with multiple workspace, but the code didn't seem to work when the user is using viewports (in compiz, eg). I can't test this change, but it should work. svn path=/trunk/; revision=1344
Diffstat (limited to 'libwnck/tasklist.c')
-rw-r--r--libwnck/tasklist.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libwnck/tasklist.c b/libwnck/tasklist.c
index afa8650..5926e2c 100644
--- a/libwnck/tasklist.c
+++ b/libwnck/tasklist.c
@@ -2086,8 +2086,10 @@ tasklist_include_window_impl (WnckTasklist *tasklist,
if (active_workspace == NULL)
return TRUE;
- if (active_workspace != wnck_window_get_workspace (win) &&
- !wnck_window_or_transient_needs_attention (win))
+ if (wnck_window_or_transient_needs_attention (win))
+ return TRUE;
+
+ if (active_workspace != wnck_window_get_workspace (win))
return FALSE;
if (!wnck_workspace_is_virtual (active_workspace))