[Xfce4-commits] [xfce/xfce4-panel] 01/01: tasklist: Activate parent windows (Bug #15307)

noreply at xfce.org noreply at xfce.org
Sun Apr 21 22:12:51 CEST 2019


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

o   c   h   o   s   i       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfce4-panel.

commit 7dd473f8a77f6998e816fdfc5f0b2f5de07f3f2e
Author: Olivier Fourdan <fourdan at xfce.org>
Date:   Fri Apr 19 23:04:03 2019 +0200

    tasklist: Activate parent windows (Bug #15307)
    
    With the fix for xfwm4 bug 14953, which allows regular transient windows
    to be minimized independently from their parent window, the taskbar
    needs to activate the parent window instead of the highest transient
    otherwise using the taskbar would just show/hide the toplevel instead of
    activating the parent window.
---
 plugins/tasklist/tasklist-widget.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/plugins/tasklist/tasklist-widget.c b/plugins/tasklist/tasklist-widget.c
index 0209e19..379bb00 100644
--- a/plugins/tasklist/tasklist-widget.c
+++ b/plugins/tasklist/tasklist-widget.c
@@ -3097,8 +3097,7 @@ xfce_tasklist_button_activate (XfceTasklistChild *child,
   panel_return_if_fail (WNCK_IS_WINDOW (child->window));
   panel_return_if_fail (WNCK_IS_SCREEN (child->tasklist->screen));
 
-  if (wnck_window_is_active (child->window)
-      || wnck_window_transient_is_most_recently_activated (child->window))
+  if (wnck_window_is_active (child->window))
     {
       /* minimize does not work when this is assigned to the
        * middle mouse button */
@@ -3205,7 +3204,7 @@ xfce_tasklist_button_activate (XfceTasklistChild *child,
             }
         }
 
-      wnck_window_activate_transient (child->window, timestamp);
+      wnck_window_activate (child->window, timestamp);
     }
 }
 

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


More information about the Xfce4-commits mailing list