summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjonsykkel <jonrevold@gmail.com>2021-01-05 18:51:45 +0100
committerjonsykkel <jonrevold@gmail.com>2021-01-05 18:55:59 +0100
commitb1934481cc0ddb8e96a80bfc29aa2937916bfafc (patch)
treebf0e86f0b6e330b1839cb47d6da499040a2ca2d7
parentaf5256c30c1c5764ae1c7c0d4edb33b4b722e6a6 (diff)
downloaddwm-b1934481cc0ddb8e96a80bfc29aa2937916bfafc.tar.gz
fix
-rw-r--r--config.h2
-rw-r--r--dwm.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/config.h b/config.h
index acdfb4c..eb8a148 100644
--- a/config.h
+++ b/config.h
@@ -1,7 +1,7 @@
/* See LICENSE file for copyright and license details. */
/* appearance */
-static const unsigned int borderpx = 1; /* border pixel of windows */
+static const unsigned int borderpx = 0; /* border pixel of windows */
static const unsigned int snap = 32; /* snap pixel */
static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
diff --git a/dwm.c b/dwm.c
index 733653c..4b9a544 100644
--- a/dwm.c
+++ b/dwm.c
@@ -722,8 +722,8 @@ drawbar(Monitor *m)
if ((unsigned int)*ts > LENGTH(colors)) { ts++; continue ; }
ctmp = *ts;
*ts = '\0';
- tx = drw_text(drw, m->ww - tw + tx, 0, tw - (m->ww-tx), bh, 0, tp, 0);
- //tx += TEXTW(tp) -lrpad;
+ drw_text(drw, m->ww - tw + tx, 0, tw - tx, bh, 0, tp, 0);
+ tx += TEXTW(tp) -lrpad;
if (ctmp == '\0') { break; }
drw_setscheme(drw, scheme[(unsigned int)(ctmp-1)]);
*ts = ctmp;