mutter/src
Jonas Ådahl 08593ea872 onscreen/native: Hold ref to the output and CRTC until detached
When an onscreen is "attached" it means it has an active CRTC and output
it interacts with, e.g. listens to configuration changes to update gamma
and privacy screen state.

MetaOutput and MetaCrtc are rather short lived objects meaning they are
disposed of and regenerated each time the compositor reloads monitor
resources, and while MetaOutput are indirectly kept alive due to the
MetaMonitor holding on to them during reloading, the same does not apply
to MetaCrtc, so to avoid trying to disconnect our signals from
disappeared outputs and CRTCs when we dispatch, hold our own references
to these objects.

Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/2665
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2885>
2023-03-03 17:32:04 +00:00
..
backends onscreen/native: Hold ref to the output and CRTC until detached 2023-03-03 17:32:04 +00:00
compositor surface-actor/wayland: Ensure screen-casted surfaces have a primary view 2023-02-28 12:03:50 +01:00
core renderer/native: Move per frame KMS update to MetaFrameNative 2023-03-02 01:40:16 +01:00
frames frames: Fix code typo 2023-02-28 18:13:23 +01:00
meta window: Add raise_and_make_recent() method 2023-02-23 20:40:58 +00:00
tests tests/monitor/default-scale: Add a couple of more test cases 2023-03-03 08:46:02 +00:00
wayland onscreen/native: Handle unexpected scanout failures async 2023-03-01 23:57:32 +00:00
x11 x11: Prevent use-after-free if a filter is removed during handling 2023-02-24 14:11:55 +00:00
libmutter.pc.in build: Fix libs and cflags in autotools .pc file 2018-11-10 16:20:46 +00:00
meson.build renderer-view/native: Allocate backend specific ClutterFrame 2023-03-02 01:39:16 +01: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