diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-02-08 09:06:13 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-02-08 09:06:13 +0000 |
| commit | 63a50afc8e7d2b315e896f4469112f4240a1592e (patch) | |
| tree | 99429f79b9df9436dcb4454c7dbd05402e03e727 /wayland.c | |
| parent | Merge branch 'xassert-performance-regression-2' (diff) | |
| parent | url-mode: urls_render(): early exit when URL list is empty (diff) | |
Merge branch 'url-detection'
Diffstat (limited to 'wayland.c')
| -rw-r--r-- | wayland.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -148,6 +148,10 @@ seat_destroy(struct seat *seat) tll_free(it->item.bind.key_codes); tll_free(seat->kbd.bindings.search); + tll_foreach(seat->kbd.bindings.url, it) + tll_free(it->item.bind.key_codes); + tll_free(seat->kbd.bindings.url); + tll_free(seat->mouse.bindings); if (seat->kbd.xkb_compose_state != NULL) @@ -1422,6 +1426,14 @@ wayl_win_destroy(struct wl_window *win) tll_free(win->on_outputs); + tll_foreach(win->urls, it) { + if (it->item.sub_surf != NULL) + wl_subsurface_destroy(it->item.sub_surf); + if (it->item.surf != NULL) + wl_surface_destroy(it->item.surf); + } + tll_free(win->urls); + csd_destroy(win); if (win->render_timer_sub_surface != NULL) wl_subsurface_destroy(win->render_timer_sub_surface); |
