forked from AuroraMiddleware/gtk
Merge branch 'work/zzag/wl-output-cleanup' into 'main'
gdk/wayland: Destroy zxdg_output_v1 upon GdkWaylandMonitor destruction See merge request GNOME/gtk!5242
This commit is contained in:
commit
200f31f285
@ -47,7 +47,8 @@ gdk_wayland_monitor_finalize (GObject *object)
|
||||
|
||||
g_free (monitor->name);
|
||||
|
||||
wl_output_destroy (monitor->output);
|
||||
g_clear_pointer (&monitor->xdg_output, zxdg_output_v1_destroy);
|
||||
g_clear_pointer (&monitor->output, wl_output_destroy);
|
||||
|
||||
G_OBJECT_CLASS (gdk_wayland_monitor_parent_class)->finalize (object);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user