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

noreply at xfce.org noreply at xfce.org
Wed May 14 21:24:59 CEST 2014


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 5ea531c447a55c8670e0a02adfa5786b04481aa7
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 1a1755b..62e2ad8 100644
--- a/plugins/tasklist/tasklist-widget.c
+++ b/plugins/tasklist/tasklist-widget.c
@@ -1554,14 +1554,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_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