commit b274343545f127f823b83bae9d5a375675a84b23
parent 36269fc92428fddbf1eb64de1b5d3e70d74092fb
Author: mpizzzle <m@michaelpercival.xyz>
Date: Tue, 8 Sep 2020 09:44:39 +0100
Merge branch 'master' of git://git.suckless.org/dwm into master
Diffstat:
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/drw.c b/drw.c
@@ -98,6 +98,7 @@ drw_free(Drw *drw)
{
XFreePixmap(drw->dpy, drw->drawable);
XFreeGC(drw->dpy, drw->gc);
+ drw_fontset_free(drw->fonts);
free(drw);
}
diff --git a/dwm.1 b/dwm.1
@@ -36,7 +36,7 @@ dwm draws a small border around windows to indicate the focus state.
.SH OPTIONS
.TP
.B -v
-prints version information to standard output, then exits.
+prints version information to stderr, then exits.
.SH USAGE
.SS Status bar
.TP
diff --git a/dwm.c b/dwm.c
@@ -482,7 +482,7 @@ buttonpress(XEvent *e)
arg.ui = 1 << i;
} else if (ev->x < x + blw)
click = ClkLtSymbol;
- else if (ev->x > selmon->ww - TEXTW(stext))
+ else if (ev->x > selmon->ww - (int)TEXTW(stext))
click = ClkStatusText;
else
click = ClkWinTitle;