mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-28 06:46:38 -04:00
wl_window: Use wl_surf for main surface
This commit is contained in:
parent
7a78fdf771
commit
8d99aae1d1
4 changed files with 37 additions and 35 deletions
|
|
@ -3512,7 +3512,7 @@ term_single_shift(struct terminal *term, enum charset_designator idx)
|
|||
enum term_surface
|
||||
term_surface_kind(const struct terminal *term, const struct wl_surface *surface)
|
||||
{
|
||||
if (likely(surface == term->window->surface))
|
||||
if (likely(surface == term->window->main.surf))
|
||||
return TERM_SURF_GRID;
|
||||
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