render-timer: use wayl_win_subsurface_new/destroy()

This commit is contained in:
Daniel Eklöf 2021-02-12 11:53:22 +01:00
parent c8324943de
commit 438853a2d8
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 10 additions and 20 deletions

View file

@ -2825,7 +2825,7 @@ term_surface_kind(const struct terminal *term, const struct wl_surface *surface)
return TERM_SURF_SEARCH;
else if (surface == term->window->scrollback_indicator_surface.surf)
return TERM_SURF_SCROLLBACK_INDICATOR;
else if (surface == term->window->render_timer_surface)
else if (surface == term->window->render_timer_surface.surf)
return TERM_SURF_RENDER_TIMER;
else if (surface == term->window->csd.surface[CSD_SURF_TITLE].surf)
return TERM_SURF_TITLE;