summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-09-05 11:51:27 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-09-05 12:13:28 +0200
commitdcc6ad272ac8dd3ab2be592c1a95c7ab6d54d5f4 (patch)
tree0e37026469b3d71c9bcb07f4234ec243c6f9a365 /src/main.cpp
parent371d55bbcdfe064e391b13b28eed800a57b4adf9 (diff)
main: exit on compositor hangup
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp1
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;
}