mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-01 07:15:32 -04:00
wayland: drop ‘_surface’ suffix from subsurface struct instances
This commit is contained in:
parent
438853a2d8
commit
5c8579043d
5 changed files with 42 additions and 43 deletions
|
|
@ -2821,11 +2821,11 @@ term_surface_kind(const struct terminal *term, const struct wl_surface *surface)
|
|||
{
|
||||
if (likely(surface == term->window->surface))
|
||||
return TERM_SURF_GRID;
|
||||
else if (surface == term->window->search_surface.surf)
|
||||
else if (surface == term->window->search.surf)
|
||||
return TERM_SURF_SEARCH;
|
||||
else if (surface == term->window->scrollback_indicator_surface.surf)
|
||||
else if (surface == term->window->scrollback_indicator.surf)
|
||||
return TERM_SURF_SCROLLBACK_INDICATOR;
|
||||
else if (surface == term->window->render_timer_surface.surf)
|
||||
else if (surface == term->window->render_timer.surf)
|
||||
return TERM_SURF_RENDER_TIMER;
|
||||
else if (surface == term->window->csd.surface[CSD_SURF_TITLE].surf)
|
||||
return TERM_SURF_TITLE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue