Remove debug message when debugging is disabled
Patch status: merged
Patch by Leo Gaspard
Long description:
More precisely, switch from printf to DLOG a "matching: * / *" message, like all the other "matching: * / *" messages.
To apply this patch, use:
curl http://cr.i3wm.org/patch/205/raw.patch | git am
b/src/commands.c
| 15 |
@@ -1521,7 +1521,7 @@ void cmd_fullscreen(I3_CMD, char *fullscreen_mode) {
|
| 16 |
HANDLE_EMPTY_MATCH; |
| 17 |
|
| 18 |
TAILQ_FOREACH(current, &owindows, owindows) {
|
| 19 |
- printf("matching: %p / %s\n", current->con, current->con->name);
|
| 20 |
+ DLOG("matching: %p / %s\n", current->con, current->con->name);
|
| 21 |
con_toggle_fullscreen(current->con, (strcmp(fullscreen_mode, "global") == 0 ? CF_GLOBAL : CF_OUTPUT)); |
| 22 |
} |
| 23 |
|