From a2fb2c05ae7bd583c2bf08a4ecc35cc592aa44d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 17 Apr 2014 11:19:53 +0200 Subject: [PATCH] window: Queue a fullscreen check when moving between monitors We track changes to windows fullscreen state and stacking order to determine a monitor's in-fullscreen state, but missed the obvious case of moving a fullscreen window between monitors. https://bugzilla.gnome.org/show_bug.cgi?id=728395 --- src/core/window.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/window.c b/src/core/window.c index 9db3bf300..8fc6c714a 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -4560,6 +4560,9 @@ meta_window_move_to_monitor (MetaWindow *window, window->tile_monitor_number = monitor; meta_window_move_between_rects (window, &old_area, &new_area); + + if (window->fullscreen || window->override_redirect) + meta_screen_queue_check_fullscreen (window->screen); } void