aboutsummaryrefslogtreecommitdiff
path: root/examples/simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/simple.c')
-rw-r--r--examples/simple.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/simple.c b/examples/simple.c
index 8e098e18..7c3cc496 100644
--- a/examples/simple.c
+++ b/examples/simple.c
@@ -52,5 +52,6 @@ int main() {
.output_frame_cb = handle_output_frame,
};
compositor_init(&compositor);
- compositor_run(&compositor);
+ wl_display_run(compositor.display);
+ compositor_fini(&compositor);
}