From 818c20e78bc1ab7d3a5cd58f14a0a66498fde7ba Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Wed, 6 Feb 2019 10:48:51 +0200 Subject: [PATCH] ivi-shell: use weston_compositor_exit Use the proper function to exit instead of the libwayland one, to allow main handle_exit() to be called. This is just to unify the exit paths. Signed-off-by: Pekka Paalanen --- ivi-shell/ivi-shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ivi-shell/ivi-shell.c b/ivi-shell/ivi-shell.c index 54f35ac9..54ab0419 100644 --- a/ivi-shell/ivi-shell.c +++ b/ivi-shell/ivi-shell.c @@ -369,7 +369,7 @@ terminate_binding(struct weston_keyboard *keyboard, const struct timespec *time, { struct weston_compositor *compositor = data; - wl_display_terminate(compositor->wl_display); + weston_compositor_exit(compositor); } static void