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
This commit is contained in:
Florian Müllner
2014-04-17 11:19:53 +02:00
parent b16ac1ba8c
commit fe9d2570d0

View File

@ -5397,6 +5397,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