[Xfce4-commits] [apps/xfce4-terminal] 01/01: Make terminal always drop down from the top of the screen

noreply at xfce.org noreply at xfce.org
Fri Aug 5 17:51:00 CEST 2016


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

f2404 pushed a commit to branch master
in repository apps/xfce4-terminal.

commit 6468ad57da925340b151f14dad60bda20cee964b
Author: Igor <f2404 at yandex.ru>
Date:   Fri Aug 5 18:50:33 2016 +0300

    Make terminal always drop down from the top of the screen
    
    Fixes https://bugzilla.xfce.org/show_bug.cgi?id=10713
---
 terminal/terminal-window-dropdown.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/terminal/terminal-window-dropdown.c b/terminal/terminal-window-dropdown.c
index e7bb0bc..f53d03e 100644
--- a/terminal/terminal-window-dropdown.c
+++ b/terminal/terminal-window-dropdown.c
@@ -762,9 +762,6 @@ terminal_window_dropdown_show (TerminalWindowDropdown *dropdown,
   x_dest = monitor_geo.x + (monitor_geo.width - w) * dropdown->rel_position;
   y_dest = monitor_geo.y;
 
-  /* move */
-  gtk_window_move (GTK_WINDOW (dropdown), x_dest, y_dest);
-
   /* show window */
   if (!visible)
     {
@@ -772,6 +769,9 @@ terminal_window_dropdown_show (TerminalWindowDropdown *dropdown,
       gtk_window_present_with_time (GTK_WINDOW (dropdown), timestamp);
     }
 
+  /* move */
+  gtk_window_move (GTK_WINDOW (dropdown), x_dest, y_dest);
+
   /* force focus to the window */
   terminal_util_activate_window (GTK_WINDOW (dropdown));
 

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


More information about the Xfce4-commits mailing list