aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-02-12 10:47:49 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-02-17 20:48:07 +0000
commite049124f6d57fb2fd444138ec588b5b3cab80ecc (patch)
tree625da6cb53fe397d130ada89a097baee49d8f2c0 /terminal.c
parentcsd: use wayl_win_subsurface_new/destroy() (diff)
search: use wayl_win_subsurface_new/destroy()
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 42a5416e..872955fb 100644
--- a/terminal.c
+++ b/terminal.c
@@ -2821,7 +2821,7 @@ term_surface_kind(const struct terminal *term, const struct wl_surface *surface)
{
if (likely(surface == term->window->surface))
return TERM_SURF_GRID;
- else if (surface == term->window->search_surface)
+ else if (surface == term->window->search_surface.surf)
return TERM_SURF_SEARCH;
else if (surface == term->window->scrollback_indicator_surface)
return TERM_SURF_SCROLLBACK_INDICATOR;