mirror of
https://github.com/brl/mutter.git
synced 2025-08-02 14:44:40 +00:00
733ab3b2bc34fac013d2a6e5b81443b7046acae9

If a client asks for xdg-output before we have set the output's logical
monitor, we would end up crashing with a NULL pointer dereference.
Make sure we clear the resource's user data when marking an output as
inert on monitor change so that we don't end up with a Wayland output
without a logical monitor.
Closes: https://gitlab.gnome.org/GNOME/mutter/issues/194
(cherry picked from commit 48eaa36d41
)
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%