[Xfce4-commits] [xfce/xfce4-panel] 01/01: Tasklist, blocking event interfered with button highlight.

noreply at xfce.org noreply at xfce.org
Fri May 16 23:54:37 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 94aca4d8b93c3343091ddcb90dd77ea08b734a0e
Author: Andrzej <ndrwrdck at gmail.com>
Date:   Fri May 16 22:54:30 2014 +0100

    Tasklist, blocking event interfered with button highlight.
    
    Especially visible with minimized windows. The button was stuck
    in "half active" state (normally inactive, but rendered as active when
    mouse cursor was above it).
---
 plugins/tasklist/tasklist-widget.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/plugins/tasklist/tasklist-widget.c b/plugins/tasklist/tasklist-widget.c
index 7ebd77a..41f000e 100644
--- a/plugins/tasklist/tasklist-widget.c
+++ b/plugins/tasklist/tasklist-widget.c
@@ -2752,9 +2752,7 @@ xfce_tasklist_button_button_release_event (GtkWidget         *button,
         {
           /* press the button */
           xfce_tasklist_button_activate (child, event->time);
-
-          /* if the window is still active, don't toggle the button */
-          return wnck_window_is_active (child->window);
+          return FALSE;
         }
       else if (event->button == 2)
         {

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


More information about the Xfce4-commits mailing list