shod

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 428435efb07d346de93bb66266d82355e6b5e9fb
parent fc07478b5613836acf8bdf0d5435991fbf74fb26
Author: Lucas de Sena <lucas@seninha.org>
Date:   Sun, 15 Jan 2023 08:19:46 -0300

fix #3

Diffstat:
Mxprompt.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xprompt.c b/xprompt.c @@ -7,7 +7,7 @@ promptcalcgeom(int *x, int *y, int *w, int *h, int *fw, int *fh) *w = min(*w, wm.selmon->ww - config.borderwidth * 2); *h = min(*h, wm.selmon->wh - config.borderwidth); *x = wm.selmon->wx + (wm.selmon->ww - *w) / 2 - config.borderwidth; - *y = 0; + *y = wm.selmon->wy; *fw = *w + config.borderwidth * 2; *fh = *h + config.borderwidth; }