From eda284833ff3a36f2234382908d58461ca2a3484 Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Thu, 15 Jul 2021 19:02:23 +0200 Subject: [PATCH] Debug to stderr --- src/dwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dwm.c b/src/dwm.c index 64d0cbc..3031abc 100644 --- a/src/dwm.c +++ b/src/dwm.c @@ -1860,7 +1860,7 @@ switchgaps(const Arg *arg) selmon->gapidx %= modeslen; selmon->gappx = gapmodes[selmon->gapidx]; - printf("####### GAPPX=%d GAPIDX=%d\n", selmon->gappx, selmon->gapidx); + fprintf(stderr, "####### GAPPX=%d GAPIDX=%d\n", selmon->gappx, selmon->gapidx); arrange(selmon); }