mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
term: term_surface_kind(): recognize the scrollback indicator sub-surface
This commit is contained in:
parent
c1f35731e0
commit
76350c568e
2 changed files with 3 additions and 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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue