Updating branch refs/heads/nick/dropdown
to c5f58b87fea07a36a1fa5b8b47582ebf345620c3 (commit)
from 4a3ebff85b2c2317541e0ba6742b59c9689d34be (commit)
commit c5f58b87fea07a36a1fa5b8b47582ebf345620c3
Author: Nick Schermer <[email protected]>
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)))
{
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits