wayland: Give toplevels a destroy hook
authorMatthias Clasen <mclasen@redhat.com>
Sun, 14 May 2023 21:37:41 +0000 (17:37 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 15 May 2023 03:49:44 +0000 (23:49 -0400)
commit982a696311ed44add2b4a3c54f59a658928fea11
tree0ab7e9fbfc684ba68a7a05feb9a04c4a2c682cb6
parente5f1e4545d22a75518c7be54e20ecdda19273c4e
wayland: Give toplevels a destroy hook

We will need to do some cleanup before the
wl_surface is destroyed, so add a hook for that.
gdk/wayland/gdksurface-wayland.c
gdk/wayland/gdktoplevel-wayland-private.h
gdk/wayland/gdktoplevel-wayland.c