mirror of
https://github.com/brl/mutter.git
synced 2025-02-05 08:04:10 +00:00
Rui Matos
7e1c6ff2a2
screen: On monitors-changed, update the window monitor before resizing
Since commit 14b0a83f64134fd6669d580558e10b4a225cb1d6 we store the main window monitor instead of computing it every time. This means that we must now ensure that it's updated before trying to use it which we do from meta_screen_resize_func() or else we'll crash on an assertion later on when removing a monitor: assertion failed: (which_monitor < workspace->screen->n_monitor_infos) https://bugzilla.gnome.org/show_bug.cgi?id=752674
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%