mutter/src
Jonas Ådahl 995f9f9db8 onscreen/native: Hold output and CRTC refs until dispose
We relied on them being valid longer to keep track of used GPUs. If we
don't have the CRTC (or output) we don't have a way to fetch the pointer
to the MetaGpu that drives the associated monitor.

This avoids a crash when trying to fetch said pointer from what would be
the NULL MetaCrtc pointer.

Fixes: 08593ea872 ("onscreen/native: Hold ref to the output and CRTC until detached")
Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/2667
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2887>
2023-03-03 22:36:30 +00:00
..
backends onscreen/native: Hold output and CRTC refs until dispose 2023-03-03 22:36:30 +00:00
compositor compositor: Add utility function to convert region to cairo_t path 2023-03-03 20:17:01 +00:00
core core: Avoid setting up frames on fullscreen windows 2023-03-03 20:33:18 +00:00
frames frames: Fix code typo 2023-02-28 18:13:23 +01:00
meta Remove support for window shading 2023-03-03 19:17:51 +00:00
tests onscreen/native: Hold output and CRTC refs until dispose 2023-03-03 22:36:30 +00:00
wayland wayland: Take surface reference for presentation-time feedback 2023-03-03 21:14:07 +00:00
x11 core: Avoid setting up frames on fullscreen windows 2023-03-03 20:33:18 +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: Drop gtk3 build dependency from mutter library/executable 2023-03-03 20:17:01 +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