aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWynn Wolf Arbor2020-03-18 19:48:19 +0100
committerWolfgang Müller2021-04-27 12:28:35 +0200
commitc1f1fc7d45b9c4118fb98005aa64110a4eb6eeb4 (patch)
tree4eabd49226e49122d499798462c73bdd1c25d75b
parent8a67da3011d0efe1ded96f4ef66085fa90ccb4c6 (diff)
downloadcwm-c1f1fc7d45b9c4118fb98005aa64110a4eb6eeb4.tar.gz
Return the window position overlay menu to its old format
Diffstat (limited to '')
-rw-r--r--kbfunc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kbfunc.c b/kbfunc.c
index a58a9ac..ef8630e 100644
--- a/kbfunc.c
+++ b/kbfunc.c
@@ -168,7 +168,7 @@ kbfunc_client_move_mb(void *ctx, struct cargs *cargs)
return;
screen_prop_win_create(sc, cc);
- screen_prop_win_draw(sc, "%+5d%+5d", cc->geom.x, cc->geom.y);
+ screen_prop_win_draw(sc, "%4d, %-4d", cc->geom.x, cc->geom.y);
while (move) {
XMaskEvent(X_Dpy, MOUSEMASK, &ev);
switch (ev.type) {
@@ -192,7 +192,7 @@ kbfunc_client_move_mb(void *ctx, struct cargs *cargs)
area.y, area.y + area.h, sc->snapdist);
client_move(cc);
screen_prop_win_draw(sc,
- "%+5d%+5d", cc->geom.x, cc->geom.y);
+ "%4d, %-4d", cc->geom.x, cc->geom.y);
break;
case ButtonRelease:
move = 0;