[Xfce4-commits] <xfce4-panel:xfce-4.8> Fix minimizing of active transient windows (bug #7674).

Nick Schermer noreply at xfce.org
Sun Jun 19 20:40:02 CEST 2011


Updating branch refs/heads/xfce-4.8
         to 89fe821a18d66465e835c85dd3a3e9add1c08d63 (commit)
       from 2bef165ce1395d9e02a9d4ae2a8fb76133e7e03a (commit)

commit 89fe821a18d66465e835c85dd3a3e9add1c08d63
Author: Nick Schermer <nick at xfce.org>
Date:   Sun Jun 19 20:26:56 2011 +0200

    Fix minimizing of active transient windows (bug #7674).
    
    (cherry picked from commit a92bfbd156a74b8be447ee2ea2466aa4a29785ea)

 plugins/tasklist/tasklist-widget.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/plugins/tasklist/tasklist-widget.c b/plugins/tasklist/tasklist-widget.c
index a301b65..24eef76 100644
--- a/plugins/tasklist/tasklist-widget.c
+++ b/plugins/tasklist/tasklist-widget.c
@@ -2735,7 +2735,8 @@ 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))
+  if (wnck_window_is_active (child->window)
+      || wnck_window_transient_is_most_recently_activated (child->window))
     {
       wnck_window_minimize (child->window);
     }



More information about the Xfce4-commits mailing list