From 2da0811d08ada1548c02f4c3300397292c0698b8 Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Fri, 16 Jul 2021 02:02:24 +0200 Subject: [PATCH] Debug cleanup --- src/dwm.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/dwm.c b/src/dwm.c index 33f461c..bb2f767 100644 --- a/src/dwm.c +++ b/src/dwm.c @@ -1855,14 +1855,7 @@ void switchgaps(const Arg *arg) { selmon->gapidx = (selmon->gapidx + arg->i) % LENGTH(gapmodes); - - FILE* logfile = NULL; - logfile = fopen("/tmp/dwm.log", "a"); - selmon->gappx = gapmodes[selmon->gapidx]; - fprintf(logfile, "####### GAPPX=%d GAPIDX=%d mode=%d modeslen=%d\n", selmon->gappx, selmon->gapidx, gapmodes[selmon->gapidx], LENGTH(gapmodes)); - - fclose(logfile); arrange(selmon); }