mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
[broadway] Remove window from hashtable when destroyed
This commit is contained in:
parent
66231a29b8
commit
c331d397f0
@ -492,6 +492,8 @@ _gdk_broadway_window_destroy (GdkWindow *window,
|
||||
}
|
||||
|
||||
broadway_display = GDK_BROADWAY_DISPLAY (gdk_window_get_display (window));
|
||||
g_hash_table_remove (broadway_display->id_ht, GINT_TO_POINTER(impl->id));
|
||||
|
||||
if (broadway_display->output)
|
||||
broadway_output_destroy_surface (broadway_display->output,
|
||||
impl->id);
|
||||
|
Loading…
Reference in New Issue
Block a user