Skip to content
Commit 052032d7 authored by Pekka Paalanen's avatar Pekka Paalanen Committed by Daniel Stone
Browse files

desktop-shell: use weston_compositor_exit



Use the proper weston_compositor_exit API instead of wl_display_terminate() to
allow the compositor main to prepare for exit, and most importantly to set the
exit error code as appropriate.

I have some brokenness in my test suite running, and weston-desktop-shell was
crashing at start, yet the tests did not notice. With this patch, the tests
where the helper crashes are properly marked as failed.

Signed-off-by: default avatarPekka Paalanen <pekka.paalanen@collabora.com>
parent 6e229ca2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment