Commit 818c20e7 authored by Pekka Paalanen's avatar Pekka Paalanen Committed by Daniel Stone

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's avatarPekka Paalanen <pekka.paalanen@collabora.com>
parent 052032d7
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment