aboutsummaryrefslogtreecommitdiff
path: root/examples/tablet.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tablet.c')
-rw-r--r--examples/tablet.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/tablet.c b/examples/tablet.c
index f43fbc52..4aec5a72 100644
--- a/examples/tablet.c
+++ b/examples/tablet.c
@@ -158,7 +158,8 @@ int main(int argc, char *argv[]) {
wlr_log(L_ERROR, "Could not start compositor, OOM");
exit(EXIT_FAILURE);
}
- compositor_run(&compositor);
+ wl_display_run(compositor.display);
wlr_renderer_destroy(state.renderer);
+ compositor_fini(&compositor);
}