[Xfce4-commits] [xfce/xfce4-panel] 21/73: Tasklist, removed an optimization causing problems on some systems.

noreply at xfce.org noreply at xfce.org
Sun Feb 26 16:34:02 CET 2017


This is an automated email from the git hooks/post-receive script.

andrzejr pushed a commit to branch master
in repository xfce/xfce4-panel.

commit ae992f8328b2772dd5feb81be95d5ba54c4e0326
Author: Andrzej <ndrwrdck at gmail.com>
Date:   Wed May 14 20:20:35 2014 +0100

    Tasklist, removed an optimization causing problems on some systems.
    
    This optimization makes little difference to performance but causes
    problems in some situations where more than one button become active
    at once.
---
 plugins/tasklist/tasklist-widget.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/plugins/tasklist/tasklist-widget.c b/plugins/tasklist/tasklist-widget.c
index bd11f31..5631361 100644
--- a/plugins/tasklist/tasklist-widget.c
+++ b/plugins/tasklist/tasklist-widget.c
@@ -1606,14 +1606,6 @@ xfce_tasklist_active_window_changed (WnckScreen   *screen,
     {
       child = li->data;
 
-      /* skip hidden buttons */
-      /* TODO the visible check probably breaks with grouping */
-      if (!gtk_widget_get_visible (child->button)
-          || !(child->window == previous_window
-               || child->window == active_window
-               || !tasklist->all_workspaces))
-        continue;
-
       /* update timestamp for window */
       if (child->window == active_window)
         g_get_current_time (&child->last_focused);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list