diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-02-12 11:00:40 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-02-17 20:48:08 +0000 |
| commit | 5c8579043dd22a08e872d90a20011f5d6d8d3dc1 (patch) | |
| tree | 1f0a4b0ab0bdbd636e650ef672ec82bba2873141 /terminal.c | |
| parent | render-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.c | 6 |
1 files changed, 3 insertions, 3 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; |
