From 76350c568e6a64dd0f8cea1138348ea97cf93aa4 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sun, 26 Jul 2020 12:37:12 +0200 Subject: term: term_surface_kind(): recognize the scrollback indicator sub-surface --- terminal.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'terminal.c') diff --git a/terminal.c b/terminal.c index 1e355fe3..f1b528fb 100644 --- a/terminal.c +++ b/terminal.c @@ -2407,6 +2407,8 @@ term_surface_kind(const struct terminal *term, const struct wl_surface *surface) return TERM_SURF_GRID; else if (surface == term->window->search_surface) return TERM_SURF_SEARCH; + else if (surface == term->window->scrollback_indicator_surface) + return TERM_SURF_SCROLLBACK_INDICATOR; else if (surface == term->window->csd.surface[CSD_SURF_TITLE]) return TERM_SURF_TITLE; else if (surface == term->window->csd.surface[CSD_SURF_LEFT]) -- cgit v1.3