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 <pekka.paalanen@collabora.com>
This commit is contained in:
Pekka Paalanen 2019-02-06 10:48:51 +02:00 committed by Daniel Stone
parent 052032d730
commit 818c20e78b

View file

@ -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