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:
committed by
Daniel Stone
parent
052032d730
commit
818c20e78b
@@ -369,7 +369,7 @@ terminate_binding(struct weston_keyboard *keyboard, const struct timespec *time,
|
|||||||
{
|
{
|
||||||
struct weston_compositor *compositor = data;
|
struct weston_compositor *compositor = data;
|
||||||
|
|
||||||
wl_display_terminate(compositor->wl_display);
|
weston_compositor_exit(compositor);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
Reference in New Issue
Block a user