[mutter/gnome-3-12] window: Queue a fullscreen check when moving between monitors
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/gnome-3-12] window: Queue a fullscreen check when moving between monitors
- Date: Thu, 17 Apr 2014 16:33:44 +0000 (UTC)
commit fe9d2570d00d8bfa16bc227cf09e4932eacbb190
Author: Florian Müllner <fmuellner gnome org>
Date: Thu Apr 17 11:19:53 2014 +0200
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 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/core/window.c b/src/core/window.c
index 8fca023..e3a5b4e 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]