mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
b41c4aec26
The MetaWaylandSurface corresponding to a MetaWaylandGtkSurface can be destroyed before the MetaWaylandGtkSurface is destroyed. In its destroy function MetaWaylandSurface however was unsetting the destructor of the correspnding resource along with the gtk_surface1 interface implementation. This was done to prevent further gtk_surface1 requests on a NULLed MetaWaylandSurface, if it has been destroyed before the MetaWaylandGtkSurface. It would be enough to just unset the resource implementation, while keeping the destructor to fix this leak. However the following commit will rely on the implementation being available after the MetaWaylandSurface has been destroyed. So instead introduce NULL checks for all functions that can be called on the gtk_surface1 interface and do not unset the implementation. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1307> |
||
---|---|---|
.. | ||
backends | ||
compositor | ||
core | ||
meta | ||
tests | ||
ui | ||
wayland | ||
x11 | ||
libmutter.pc.in | ||
meson.build | ||
meta-private-enum-types.c.in | ||
meta-private-enum-types.h.in | ||
org.freedesktop.login1.xml | ||
org.gnome.Mutter.DisplayConfig.xml | ||
org.gnome.Mutter.IdleMonitor.xml | ||
org.gnome.Mutter.RemoteDesktop.xml | ||
org.gnome.Mutter.ScreenCast.xml |