diff options
author | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-09-05 11:51:27 +0200 |
---|---|---|
committer | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-09-05 12:13:28 +0200 |
commit | dcc6ad272ac8dd3ab2be592c1a95c7ab6d54d5f4 (patch) | |
tree | 0e37026469b3d71c9bcb07f4234ec243c6f9a365 | |
parent | 371d55bbcdfe064e391b13b28eed800a57b4adf9 (diff) |
main: exit on compositor hangup
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
-rw-r--r-- | src/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index de10291..e7b3c22 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -72,6 +72,7 @@ int display_event_callback(sd_event_source *evs, int /*fd*/, uint32_t events, error: sd_event_source_unref(evs); + exit(1); return -1; } |