commit 09a4b227774a0b193247621a83efda81766c4355
parent a0b3d6c16649fde7da8b194e63b28f139a6db7a9
Author: phillbush <phillbush@cock.li>
Date: Mon, 13 Sep 2021 08:06:15 -0300
fix button position
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/shod.c b/shod.c
@@ -1968,6 +1968,8 @@ containermoveresize(struct Container *c)
XMoveResizeWindow(dpy, c->curswin, 0, 0, c->w, c->h);
for (col = c->cols; col != NULL; col = col->next) {
for (row = col->rows; row != NULL; row = row->next) {
+ XMoveWindow(dpy, row->bl, col->x, row->y);
+ XMoveWindow(dpy, row->br, col->x + col->w - visual.button, row->y);
for (t = row->tabs; t != NULL; t = t->next) {
tabmoveresize(t);
}