X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fopenbox.c;h=7f141d6f3892d1dc451e913f9bb7264ce965bb24;hb=b972055c9a46ba797e524c1952f20ad450aaebbf;hp=59e126b7fa30bb28f564e2f60823a404abb1d2b0;hpb=52a6fc08309c7eb615de81cc91d5d7a7bffb66f4;p=chaz%2Fopenbox diff --git a/openbox/openbox.c b/openbox/openbox.c index 59e126b7..7f141d6f 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -128,7 +128,7 @@ int main(int argc, char **argv) ob_display = XOpenDisplay(NULL); if (ob_display == NULL) - exit_with_error("Failed to open the display."); + ob_exit_with_error("Failed to open the display."); if (fcntl(ConnectionNumber(ob_display), F_SETFD, 1) == -1) ob_exit_with_error("Failed to set display as close-on-exec.");