mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-28 07:58:00 -04:00
url-mode: convert struct wl_url to use wayl_win_subsurface_new()
This commit is contained in:
parent
bb4d9a5fd3
commit
9d362158e3
5 changed files with 8 additions and 46 deletions
|
|
@ -1430,10 +1430,7 @@ 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);
|
||||
wayl_win_subsurface_destroy(&it->item.surf);
|
||||
tll_remove(win->urls, it);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue