summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gears.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gears.c b/gears.c
index 1bef6d1..9016c14 100644
--- a/gears.c
+++ b/gears.c
@@ -381,6 +381,7 @@ event_loop (unsigned flags, int width, int height)
if (status != CAIRO_STATUS_SUCCESS) {
fprintf (stderr, "Failed to render: %s\n",
cairo_status_to_string (status));
+ exit (1);
}
push_expose (); /* Schedule another expose soon, */