aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/layer-shell.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/layer-shell.c b/examples/layer-shell.c
index e559121e..70407888 100644
--- a/examples/layer-shell.c
+++ b/examples/layer-shell.c
@@ -247,7 +247,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) {