diff --git a/src/core/window.c b/src/core/window.c index d16b6fa38..3145851d1 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -9009,7 +9009,7 @@ update_move (MetaWindow *window, * refers to the monitor which contains the largest part of the window, * the latter to the one where the pointer is located. */ - monitor = meta_screen_get_current_monitor_info (window->screen); + monitor = meta_screen_get_current_monitor_info_for_pos (window->screen, x, y); meta_window_get_work_area_for_monitor (window, monitor->number, &work_area);