diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-07-26 10:37:12 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-07-26 10:37:12 +0000 |
| commit | 76350c568e6a64dd0f8cea1138348ea97cf93aa4 (patch) | |
| tree | 1b255e2e03a7d917ef523b06662d72c19520ac74 | |
| parent | input: margins are not selectable (diff) | |
term: term_surface_kind(): recognize the scrollback indicator sub-surface
| -rw-r--r-- | terminal.c | 2 | ||||
| -rw-r--r-- | terminal.h | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -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]) @@ -195,6 +195,7 @@ enum term_surface { TERM_SURF_NONE, TERM_SURF_GRID, TERM_SURF_SEARCH, + TERM_SURF_SCROLLBACK_INDICATOR, TERM_SURF_TITLE, TERM_SURF_BORDER_LEFT, TERM_SURF_BORDER_RIGHT, |
