aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-02-12 10:31:31 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-02-17 20:48:07 +0000
commit9d362158e3810bc0cbfe1990238e2abd3786e4c1 (patch)
tree67fac1573f773449a5a45b9f6bbce8c08ac37999 /terminal.c
parentwayland: add wayl_win_subsurface_new() and wayl_win_subsurface_destroy() (diff)
url-mode: convert struct wl_url to use wayl_win_subsurface_new()
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/terminal.c b/terminal.c
index 6c54543e..6c0827c6 100644
--- a/terminal.c
+++ b/terminal.c
@@ -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;