aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-01-03 18:04:42 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-01-03 18:04:42 +0000
commita291999f2c602ef7af050ee167c023dc4830d164 (patch)
tree95fecaeb3096826f5eb3540ea318b6d74e246c8f
parentwayland: configure: resize before changing visual focus (diff)
wayland: flush after commit new pointer surface
-rw-r--r--wayland.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wayland.c b/wayland.c
index d78b4afc..3d0a7061 100644
--- a/wayland.c
+++ b/wayland.c
@@ -961,6 +961,7 @@ wayl_cursor_set(struct wayland *wayl, const struct terminal *term)
wl_surface_set_buffer_scale(wayl->pointer.surface, scale);
wl_surface_commit(wayl->pointer.surface);
+ wl_display_flush(wayl->display);
return true;
}