From fad23c9979d3ba04f377eb0704b6d78b9ebf43c4 Mon Sep 17 00:00:00 2001 From: Victor Kareh Date: Thu, 31 Jan 2019 07:16:34 -0500 Subject: screen: Remove get_current_monitor in favor of get_current_xinerama Since xinerama already contains information on the monitor and its rectangle, there is no need to go through Gdk to get this information again. --- src/core/window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/window.c') diff --git a/src/core/window.c b/src/core/window.c index df8da1d3..485afbc1 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -7197,8 +7197,8 @@ update_move (MetaWindow *window, * inside edge, because we don't want to force users to maximize * windows they are placing near the top of their screens. * - * The "current" idea of meta_window_get_work_area_current_monitor() and - * meta_screen_get_current_monitor() is slightly different: the former + * The "current" idea of meta_window_get_work_area_for_xinerama() and + * meta_screen_get_current_xinerama() is slightly different: the former * refers to the monitor which contains the largest part of the window, * the latter to the one where the pointer is located. */ -- cgit v1.2.1