mirror of
https://github.com/brl/mutter.git
synced 2025-02-16 13:24:09 +00:00
![Olivier Fourdan](/assets/img/avatar_default.png)
meta_window_wayland_update_main_monitor() would skip the monitor update if the difference in scale between the old and the new monitor would cause another monitor change. While this is suitable when the monitor change results from a user interactively moving the surface between monitors of different scales, this can leave dangling pointers to freed monitors when this is triggered by a change of monitor configuration. Make sure we update the monitor unconditionally if not from a user operation. Closes: https://gitlab.gnome.org/GNOME/mutter/issues/189
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%