aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Primak <vyivel@eclair.cafe>2024-08-13 22:10:01 +0300
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>2024-08-21 09:38:43 -0600
commitf993f9722589d339a2e2766332b4d591157b5ade (patch)
tree309baa74ef0d842691f8b24ffb4db1f17065b60a
parent494d32f2da0bd8a782d88fdaa98b9e1967148d1b (diff)
downloadusermoji-f993f9722589d339a2e2766332b4d591157b5ade.tar.xz
cube: roundtrip to ensure all globals are processed
wl_display_dispatch() may not process all events.
-rw-r--r--cube/cube.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cube/cube.c b/cube/cube.c
index 5cb15dce..78d0bb55 100644
--- a/cube/cube.c
+++ b/cube/cube.c
@@ -4188,7 +4188,7 @@ static void demo_init_connection(struct demo *demo) {
demo->registry = wl_display_get_registry(demo->display);
wl_registry_add_listener(demo->registry, &registry_listener, demo);
- wl_display_dispatch(demo->display);
+ wl_display_roundtrip(demo->display);
#endif
}