From: Leo Gaspard Date: Tue, 20 Aug 2013 00:07:31 +0000 (+0200) Subject: Remove debug message when debugging is disabled X-Git-Tag: 4.7~68 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c9611b320b1ca822b5c0b23cb0c62005a7244f48;p=i3%2Fi3 Remove debug message when debugging is disabled More precisely, switch from printf to DLOG a "matching: * / *" message, like all the other "matching: * / *" messages. --- diff --git a/src/commands.c b/src/commands.c index 9686dfe4..f4274246 100644 --- a/src/commands.c +++ b/src/commands.c @@ -1521,7 +1521,7 @@ void cmd_fullscreen(I3_CMD, char *fullscreen_mode) { HANDLE_EMPTY_MATCH; TAILQ_FOREACH(current, &owindows, owindows) { - printf("matching: %p / %s\n", current->con, current->con->name); + DLOG("matching: %p / %s\n", current->con, current->con->name); con_toggle_fullscreen(current->con, (strcmp(fullscreen_mode, "global") == 0 ? CF_GLOBAL : CF_OUTPUT)); }