mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-14 08:21:27 -04:00
wayland: synchronize the CSD surfaces to the main surface
This commit is contained in:
parent
7e26d96d17
commit
f05e0ad0ae
1 changed files with 1 additions and 0 deletions
|
|
@ -947,6 +947,7 @@ wayl_win_init(struct terminal *term)
|
||||||
win->csd.surface[i] = wl_compositor_create_surface(wayl->compositor);
|
win->csd.surface[i] = wl_compositor_create_surface(wayl->compositor);
|
||||||
win->csd.sub_surface[i] = wl_subcompositor_get_subsurface(
|
win->csd.sub_surface[i] = wl_subcompositor_get_subsurface(
|
||||||
wayl->sub_compositor, win->csd.surface[i], win->surface);
|
wayl->sub_compositor, win->csd.surface[i], win->surface);
|
||||||
|
wl_subsurface_set_sync(win->csd.sub_surface[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Scrollback search box */
|
/* Scrollback search box */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue