[Xfce4-commits] [apps/xfce4-terminal] 01/01: Fix move dropdown window to monitor with pointer behavior

noreply at xfce.org noreply at xfce.org
Wed Dec 7 15:55:18 CET 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 f71ca0b61737141e531a62368e49b67230572f5e
Author: Igor <f2404 at yandex.ru>
Date:   Wed Dec 7 17:55:12 2016 +0300

    Fix move dropdown window to monitor with pointer behavior
---
 terminal/terminal-window-dropdown.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/terminal/terminal-window-dropdown.c b/terminal/terminal-window-dropdown.c
index 056f3b0..7ef55d4 100644
--- a/terminal/terminal-window-dropdown.c
+++ b/terminal/terminal-window-dropdown.c
@@ -733,8 +733,7 @@ terminal_window_dropdown_show (TerminalWindowDropdown *dropdown,
   /* get the active monitor size */
 #if GTK_CHECK_VERSION (3, 22, 0)
   display = gdk_screen_get_display (dropdown->screen);
-  monitor = gdk_display_get_monitor_at_window (display,
-                                               gtk_widget_get_window (GTK_WIDGET (dropdown)));
+  monitor = gdk_display_get_monitor (display, dropdown->monitor_num);
   gdk_monitor_get_geometry (monitor, &monitor_geo);
 #else
   gdk_screen_get_monitor_geometry (dropdown->screen, dropdown->monitor_num, &monitor_geo);

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


More information about the Xfce4-commits mailing list