aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-07-26 10:37:12 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-07-26 10:37:12 +0000
commit76350c568e6a64dd0f8cea1138348ea97cf93aa4 (patch)
tree1b255e2e03a7d917ef523b06662d72c19520ac74 /terminal.c
parentinput: margins are not selectable (diff)
term: term_surface_kind(): recognize the scrollback indicator sub-surface
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c2
1 files changed, 2 insertions, 0 deletions
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])