aboutsummaryrefslogtreecommitdiffstats
path: root/src/window-xlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window-xlib.c')
-rw-r--r--src/window-xlib.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/window-xlib.c b/src/window-xlib.c
index dfa15b9..692029f 100644
--- a/src/window-xlib.c
+++ b/src/window-xlib.c
@@ -179,8 +179,7 @@ void runes_window_backend_create_window(RunesTerm *t, int argc, char *argv[])
NULL
);
if (w->ic == NULL) {
- runes_warn("failed\n");
- exit(1);
+ runes_die("failed");
}
XInternAtoms(w->dpy, atom_names, RUNES_NUM_ATOMS, False, w->atoms);