mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-13 08:21:03 -04:00
urls: initial support for detecting URLs and rendering jump-labels
The jump labels work, but is currently hardcoded to use xdg-open
This commit is contained in:
parent
b255aea3ed
commit
2cc84db979
12 changed files with 503 additions and 28 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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue