summaryrefslogtreecommitdiff
path: root/dmenu.c
diff options
context:
space:
mode:
Diffstat (limited to 'dmenu.c')
-rw-r--r--dmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dmenu.c b/dmenu.c
index 143c90d..8463b4c 100644
--- a/dmenu.c
+++ b/dmenu.c
@@ -143,7 +143,7 @@ drawmenu(void)
if (prompt && *prompt) {
drw_setscheme(drw, scheme[SchemeSel]);
- x = drw_text(drw, x + border, border, promptw, bh, lrpad / 2, prompt, 0);
+ x = drw_text(drw, x, 0, promptw, bh + border, lrpad / 2, prompt, 0);
}
/* draw input field */
w = (lines > 0 || !matches) ? mw - x : inputw;