mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-12 05:34:01 -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
|
|
@ -2845,7 +2845,7 @@ term_surface_kind(const struct terminal *term, const struct wl_surface *surface)
|
|||
return TERM_SURF_BUTTON_CLOSE;
|
||||
else {
|
||||
tll_foreach(term->window->urls, it) {
|
||||
if (surface == it->item.surf)
|
||||
if (surface == it->item.surf.surf)
|
||||
return TERM_SURF_JUMP_LABEL;
|
||||
}
|
||||
return TERM_SURF_NONE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue