diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-01-31 10:12:07 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-02-07 15:33:31 +0000 |
| commit | 2cc84db97978388475504592c88911046bcd2eb6 (patch) | |
| tree | 91efd350b53a6b296c0e78eb5781ef0e59cdddbf /wayland.c | |
| parent | config: free URL bindings (diff) | |
urls: initial support for detecting URLs and rendering jump-labels
The jump labels work, but is currently hardcoded to use xdg-open
Diffstat (limited to 'wayland.c')
| -rw-r--r-- | wayland.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1426,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); |
