shod

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

commit 93383968512b03e78976a9324e7e114e58f8062a
parent 9f57eda3e2c4ee7d3374fde90e8c0de85567cbdc
Author: seninha <lucas@seninha.org>
Date:   Wed, 22 Jun 2022 16:23:58 -0300

fix dialog resizing

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

diff --git a/shod.c b/shod.c @@ -3143,6 +3143,7 @@ dialogmoveresize(struct Dialog *d) struct Container *c; int dx, dy, dw, dh; + dialogcalcsize(d); c = d->t->row->col->c; dx = d->x - config.borderwidth; dy = d->y - config.borderwidth; @@ -5068,7 +5069,6 @@ managedialog(struct Tab *t, struct Dialog *d) t->ds = d; XReparentWindow(dpy, d->frame, t->frame, 0, 0); icccmwmstate(d->win, NormalState); - dialogcalcsize(d); dialogmoveresize(d); XMapRaised(dpy, d->frame); if (wm.focused != NULL && wm.focused->selcol->selrow->seltab == t)