mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 22:20:24 +00:00
Merge branch 'wip/dont-leak-toplevel-present-callback' into 'master'
wayland/toplevel: Don't leak wl_callback used during present() See merge request GNOME/gtk!2399
This commit is contained in:
commit
41ef2c5f34
@ -4814,8 +4814,7 @@ gdk_wayland_toplevel_present (GdkToplevel *toplevel,
|
||||
(!impl->initial_configure_received || !done))
|
||||
wl_display_dispatch_queue (display_wayland->wl_display, impl->event_queue);
|
||||
|
||||
if (!done)
|
||||
wl_callback_destroy (callback);
|
||||
wl_callback_destroy (callback);
|
||||
|
||||
if (needs_reconfigure &&
|
||||
last_configure_serial == impl->last_configure_serial &&
|
||||
|
Loading…
Reference in New Issue
Block a user