mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
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>
This commit is contained in:
parent
8354289650
commit
1760dcb0d7
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user