[Xfce4-commits] <xfce4-terminal:master> Avoid endless loop with animation and focus-out.

Nick Schermer noreply at xfce.org
Sat Dec 29 22:44:13 CET 2012


Updating branch refs/heads/master
         to 4e5613a0e88d94e677db29ab239d2e2726188236 (commit)
       from e32da0cca517c5145c599a92ab1f2d3f1fec57ca (commit)

commit 4e5613a0e88d94e677db29ab239d2e2726188236
Author: Nick Schermer <nick at xfce.org>
Date:   Sat Dec 29 21:23:38 2012 +0100

    Avoid endless loop with animation and focus-out.

 terminal/terminal-window-dropdown.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/terminal/terminal-window-dropdown.c b/terminal/terminal-window-dropdown.c
index ee4f073..4166e65 100644
--- a/terminal/terminal-window-dropdown.c
+++ b/terminal/terminal-window-dropdown.c
@@ -430,7 +430,8 @@ terminal_window_dropdown_focus_out_event (GtkWidget     *widget,
   /* check if keep open is not enabled */
   if (gtk_widget_get_visible (widget)
       && TERMINAL_WINDOW (dropdown)->n_child_windows == 0
-      && gtk_grab_get_current () == NULL) /* popup menu check */
+      && gtk_grab_get_current () == NULL
+      && dropdown->animation_dir != ANIMATION_DIR_UP) /* popup menu check */
     {
       if (!gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (dropdown->keep_open)))
         {


More information about the Xfce4-commits mailing list