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>
dev
Pekka Paalanen 6 years ago committed by Daniel Stone
parent 052032d730
commit 818c20e78b
  1. 2
      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

Loading…
Cancel
Save