| @@ -37,7 +37,7 @@ void win_open(win_t *win) { |
| 37 | 37 | | e = &win->env; |
| 38 | 38 | | |
| 39 | 39 | | if (!(e->dpy = XOpenDisplay(NULL))) |
| 40 | | − | FATAL("could not open display"); |
| 40 | + | DIE("could not open display"); |
| 41 | 41 | | |
| 42 | 42 | | e->scr = DefaultScreen(e->dpy); |
| 43 | 43 | | e->scrw = DisplayWidth(e->dpy, e->scr); |
| @@ -49,7 +49,7 @@ void win_open(win_t *win) { |
| 49 | 49 | | |
| 50 | 50 | | if (!XAllocNamedColor(e->dpy, DefaultColormap(e->dpy, e->scr), BG_COLOR, |
| 51 | 51 | | &bgcol, &bgcol)) |
| 52 | | − | FATAL("could not allocate color: %s", BG_COLOR); |
| 52 | + | DIE("could not allocate color: %s", BG_COLOR); |
| 53 | 53 | | |
| 54 | 54 | | if (win->w > e->scrw) |
| 55 | 55 | | win->w = e->scrw; |
| @@ -67,7 +67,7 @@ void win_open(win_t *win) { |
| 67 | 67 | | win->x, win->y, win->w, win->h, 0, |
| 68 | 68 | | e->depth, InputOutput, e->vis, mask, &attr); |
| 69 | 69 | | if (win->xwin == None) |
| 70 | | − | FATAL("could not create window"); |
| 70 | + | DIE("could not create window"); |
| 71 | 71 | | |
| 72 | 72 | | XSelectInput(e->dpy, win->xwin, |
| 73 | 73 | | StructureNotifyMask | ExposureMask | KeyPressMask); |