aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-02-12 11:00:40 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-02-17 20:48:08 +0000
commit5c8579043dd22a08e872d90a20011f5d6d8d3dc1 (patch)
tree1f0a4b0ab0bdbd636e650ef672ec82bba2873141 /terminal.c
parentrender-timer: use wayl_win_subsurface_new/destroy() (diff)
wayland: drop ‘_surface’ suffix from subsurface struct instances
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/terminal.c b/terminal.c
index 2ff02783..0051ca6d 100644
--- a/terminal.c
+++ b/terminal.c
@@ -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;