[#682]Make urgent windows on other desktops visible on taskbar even with single-deskt...
authorAndy Balaam <axis3x3@users.sf.net>
Thu, 25 Sep 2014 23:51:21 +0000 (23:51 +0000)
committerAndriy Grytsenko <andrej@rep.kiev.ua>
Thu, 27 Nov 2014 21:58:54 +0000 (23:58 +0200)
ChangeLog
plugins/launchtaskbar.c

index 26b8987..e9ccf4c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -78,6 +78,9 @@
 * Changed to use persistent background image for panel and Cairo. This
     way updating background should be faster, and also fixed background
     of plugins when image is used, both placement and alpha color.
+* Urgent window is now always visible on the taskbar irrelevant of the
+    desktop number on which it appears, because urgent window requires
+    user attention (patch from Andy Balaam).
 
 0.7.2
 -------------------------------------------------------------------------
index e4ea7e9..7db5807 100644 (file)
@@ -1484,7 +1484,7 @@ static void set_timer_on_task(Task * tk)
 /* Determine if a task is visible considering only its desktop placement. */
 static gboolean task_is_visible_on_current_desktop(LaunchTaskBarPlugin * tb, Task * tk)
 {
-    return ((tk->desktop == ALL_WORKSPACES) || (tk->desktop == tb->current_desktop) || (tb->show_all_desks));
+    return ((tk->desktop == ALL_WORKSPACES) || (tk->desktop == tb->current_desktop) || (tb->show_all_desks) || (tb->urgency));
 }
 
 /* Recompute the visible task for a class when the class membership changes.