aboutsummaryrefslogtreecommitdiff
path: root/examples/idle-inhibit.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/idle-inhibit.c')
-rw-r--r--examples/idle-inhibit.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/idle-inhibit.c b/examples/idle-inhibit.c
index 348892ab..5de32dbd 100644
--- a/examples/idle-inhibit.c
+++ b/examples/idle-inhibit.c
@@ -177,7 +177,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 (compositor == NULL) {