[Xfce4-commits] <xfce4-terminal:master> Don't break fullscreen without animation.

Nick Schermer noreply at xfce.org
Mon Dec 31 18:26:01 CET 2012


Updating branch refs/heads/master
         to b20622bd0d66b7634993df041241b68e288429b7 (commit)
       from d99aef8215bd978dd2128673f6a4bbb1e1790283 (commit)

commit b20622bd0d66b7634993df041241b68e288429b7
Author: Nick Schermer <nick at xfce.org>
Date:   Mon Dec 31 18:24:06 2012 +0100

    Don't break fullscreen without animation.

 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 9d8271f..0b763b5 100644
--- a/terminal/terminal-window-dropdown.c
+++ b/terminal/terminal-window-dropdown.c
@@ -726,7 +726,8 @@ terminal_window_dropdown_show (TerminalWindowDropdown *dropdown,
   if (gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (window->action_fullscreen)))
     {
       /* don't fullscreen during animation*/
-      gtk_window_unfullscreen (GTK_WINDOW (window));
+      if (dropdown->animation_time > 0)
+        gtk_window_unfullscreen (GTK_WINDOW (window));
 
       /* use monitor geometry */
       w = monitor_geo.width;


More information about the Xfce4-commits mailing list