mutter/src
Keyu Tao c1ab3f39d7 wayland/outputs: Fix potential crash when output has no monitor
bind_output() creates output interface resource, but does not
set implementation for it when wayland_output->monitor is NULL.
However, when the wayland library is running wl_closure_invoke(),
it expects the implementation to be non-NULL, and if not, it just
segfaults mutter by NULL pointer dereference.

This commit tries to address this issue by setting an implementation
when wayland_output->monitor is NULL. This could help prevent crash
when resuming from suspend or hotplugging displays.

Fixes: https://gitlab.gnome.org/GNOME/mutter/-/issues/2570
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2827>
2023-02-06 21:37:04 +08:00
..
backends window: Keep proportional position in meta_window_move_between_rects 2023-02-01 22:58:34 +00:00
compositor default-plugin: Handle unmanaging windows in switch_workspace 2023-02-01 16:21:55 +01:00
core workspace: Do not raise default focus window with raise-on-click 2023-02-03 17:09:12 +00:00
frames frames: Quit immediately on SIGTERM 2023-01-20 21:25:02 +00:00
meta core: Pass device/sequence on meta_window_begin_grab_op() 2023-01-30 10:56:29 +00:00
tests build: Make dependency order consistent when generating introspection 2023-02-05 12:38:22 +00:00
wayland wayland/outputs: Fix potential crash when output has no monitor 2023-02-06 21:37:04 +08:00
x11 core: Pass device/sequence on meta_window_begin_grab_op() 2023-01-30 10:56:29 +00:00
libmutter.pc.in build: Fix libs and cflags in autotools .pc file 2018-11-10 16:20:46 +00:00
meson.build build: Make dependency order consistent when generating introspection 2023-02-05 12:38:22 +00:00
meta-private-enum-types.c.in build: Add missing include 2022-08-10 20:28:40 +02:00
meta-private-enum-types.h.in screen-cast: Add screen cast flag to streams 2020-07-30 09:51:16 +02:00