From: Michael Stapelberg Date: Mon, 21 Dec 2009 19:41:02 +0000 (+0100) Subject: xinerama: change some log messages to errors X-Git-Tag: 3.e~6^2~193 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0b5554c762732f1c79e3e587d867922b65878a78;p=i3%2Fi3 xinerama: change some log messages to errors --- diff --git a/src/xinerama.c b/src/xinerama.c index 79483c66..68c90ac4 100644 --- a/src/xinerama.c +++ b/src/xinerama.c @@ -193,7 +193,7 @@ static void query_screens(xcb_connection_t *conn, struct screens_head *screenlis while ((time(NULL) - before_trying) < 10) { reply = xcb_xinerama_query_screens_reply(conn, xcb_xinerama_query_screens_unchecked(conn), NULL); if (!reply) { - DLOG("Couldn't get Xinerama screens\n"); + ELOG("Couldn't get Xinerama screens\n"); return; } screen_info = xcb_xinerama_query_screens_screen_info(reply); @@ -228,7 +228,7 @@ static void query_screens(xcb_connection_t *conn, struct screens_head *screenlis free(reply); if (num_screens == 0) { - DLOG("No screens found. This is weird. Trying again...\n"); + ELOG("No screens found. This is weird. Trying again...\n"); /* Give the scheduler a chance to do something else * and don’t hog the CPU */ usleep(250); @@ -239,7 +239,7 @@ static void query_screens(xcb_connection_t *conn, struct screens_head *screenlis } if (num_screens == 0) { - DLOG("No screens found for 10 seconds. Please fix your setup. i3 will exit now.\n"); + ELOG("No screens found for 10 seconds. Please fix your setup. i3 will exit now.\n"); exit(0); } }