about summary refs log tree commit diff
path: root/mousefunc.c
diff options
context:
space:
mode:
authorokan <okan>2012-12-17 02:28:45 +0000
committerokan <okan>2012-12-17 02:28:45 +0000
commit6900cd36121062f81f29ec3651aa1ee8807edbe1 (patch)
treebbbf15f9401923e29d45105572ce8727e74c3267 /mousefunc.c
parenta3aaad2c187278b7ac1cf75cb03882dd3d20f29b (diff)
downloadcwm-6900cd36121062f81f29ec3651aa1ee8807edbe1.tar.gz
cwm-6900cd36121062f81f29ec3651aa1ee8807edbe1.tar.xz
cwm-6900cd36121062f81f29ec3651aa1ee8807edbe1.zip
non-trivial menu drawing rewrite, moving to Xft and solving various
font/color drawing issues; from Alexander Polakov
Diffstat (limited to 'mousefunc.c')
-rw-r--r--mousefunc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mousefunc.c b/mousefunc.c
index d61adca..a342b8e 100644
--- a/mousefunc.c
+++ b/mousefunc.c
@@ -68,9 +68,9 @@ mousefunc_sweep_draw(struct client_ctx *cc)
 	XMoveResizeWindow(X_Dpy, sc->menuwin, 0, 0, width, font_height(sc) * 2);
 	XMapWindow(X_Dpy, sc->menuwin);
 	XClearWindow(X_Dpy, sc->menuwin);
-	font_draw(sc, cc->name, strlen(cc->name), sc->menuwin,
+	font_draw(sc, cc->name, strlen(cc->name), sc->menuwin, 0,
 	    2, font_ascent(sc) + 1);
-	font_draw(sc, asize, strlen(asize), sc->menuwin,
+	font_draw(sc, asize, strlen(asize), sc->menuwin, 0,
 	    width / 2 - width_size / 2, font_height(sc) + font_ascent(sc) + 1);
 }