aboutsummaryrefslogtreecommitdiff
path: root/examples/virtual-pointer.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/virtual-pointer.c')
-rw-r--r--examples/virtual-pointer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/virtual-pointer.c b/examples/virtual-pointer.c
index 84af7ffd..8fd14830 100644
--- a/examples/virtual-pointer.c
+++ b/examples/virtual-pointer.c
@@ -67,7 +67,6 @@ int main(int argc, char *argv[]) {
struct wl_registry *registry = wl_display_get_registry(display);
wl_registry_add_listener(registry, &registry_listener, NULL);
- wl_display_dispatch(display);
wl_display_roundtrip(display);
if (pointer_manager == NULL) {
@@ -132,7 +131,6 @@ int main(int argc, char *argv[]) {
zwlr_virtual_pointer_v1_frame(pointer);
zwlr_virtual_pointer_v1_destroy(pointer);
- wl_display_dispatch(display);
return EXIT_SUCCESS;
}