aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-02-25 18:56:56 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-02-25 18:56:56 +0000
commitf05e0ad0ae691bb8c476b299a60006c9ba53ede2 (patch)
treec8f7629634a50b2ba55b0821599967e5cccf316b
parentwayland: default to CSDs (diff)
wayland: synchronize the CSD surfaces to the main surface
-rw-r--r--wayland.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wayland.c b/wayland.c
index 813229ec..f49e71d2 100644
--- a/wayland.c
+++ b/wayland.c
@@ -947,6 +947,7 @@ wayl_win_init(struct terminal *term)
win->csd.surface[i] = wl_compositor_create_surface(wayl->compositor);
win->csd.sub_surface[i] = wl_subcompositor_get_subsurface(
wayl->sub_compositor, win->csd.surface[i], win->surface);
+ wl_subsurface_set_sync(win->csd.sub_surface[i]);
}
/* Scrollback search box */