From 0b5554c762732f1c79e3e587d867922b65878a78 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 21 Dec 2009 20:41:02 +0100 Subject: [PATCH] xinerama: change some log messages to errors --- src/xinerama.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); } }