aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-02-12 10:50:43 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-02-17 20:48:08 +0000
commitc8324943de5cb56f480e2a3477f6b129054ff2b4 (patch)
tree23bf7dd3b08ebffafd3a6068ed129c559069db09 /terminal.c
parentsearch: use wayl_win_subsurface_new/destroy() (diff)
scrollback-indicator: 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 872955fb..0aab462b 100644
--- a/terminal.c
+++ b/terminal.c
@@ -2823,7 +2823,7 @@ term_surface_kind(const struct terminal *term, const struct wl_surface *surface)
return TERM_SURF_GRID;
else if (surface == term->window->search_surface.surf)
return TERM_SURF_SEARCH;
- else if (surface == term->window->scrollback_indicator_surface)
+ else if (surface == term->window->scrollback_indicator_surface.surf)
return TERM_SURF_SCROLLBACK_INDICATOR;
else if (surface == term->window->render_timer_surface)
return TERM_SURF_RENDER_TIMER;