[mutter] window: Check fullscreen status when window changes monitor
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] window: Check fullscreen status when window changes monitor
- Date: Wed, 30 Mar 2022 13:25:48 +0000 (UTC)
commit 1760dcb0d78539c2a42811bdd837f047cc38d17a
Author: Sebastian Wick <sebastian wick redhat com>
Date: Fri Mar 4 18:48:31 2022 +0100
window: Check fullscreen status when window changes monitor
For wayland meta_window_move_to_monitor sends a configure to the client
without actually moving the window, yet and the
meta_display_queue_check_fullscreen call won't detect any changes.
Checking for fullscreen in meta_window_update_monitor fixes the problem
because it is called whenever the window actually changed the monitor it
is on.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2325>
src/core/window.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/core/window.c b/src/core/window.c
index 2545a1b5b9..ccc6a28a83 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -3744,6 +3744,8 @@ meta_window_update_monitor (MetaWindow *window,
/* If we're changing monitors, we need to update the has_maximize_func flag,
* as the working area has changed. */
meta_window_recalc_features (window);
+
+ meta_display_queue_check_fullscreen (window->display);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]