Use EXIT_SUCCESS/FAILURE instead of 0/1

This commit is contained in:
Orestis Floros
2020-01-16 09:21:27 +01:00
parent f7aee6b908
commit 0ed94fc788
10 changed files with 12 additions and 12 deletions

View File

@ -441,7 +441,7 @@ static void handle_screen_change(xcb_generic_event_t *e) {
xcb_get_geometry_reply_t *reply = xcb_get_geometry_reply(conn, cookie, NULL);
if (reply == NULL) {
ELOG("Could not get geometry of the root window, exiting\n");
exit(1);
exit(EXIT_FAILURE);
}
DLOG("root geometry reply: (%d, %d) %d x %d\n", reply->x, reply->y, reply->width, reply->height);