shod

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

commit 2a3d5d7b0b0cc6f8893b68727438eda057459871
parent 9a60bbc07af95ce17fb4a12b922990c23bbb46df
Author: phillbush <phillbush@cock.li>
Date:   Tue, 21 Sep 2021 07:42:39 -0300

fix calls to shodgrouptab and shodgroupcontainer

Diffstat:
Mshod.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/shod.c b/shod.c @@ -3188,6 +3188,7 @@ tryattach(struct Container *list, struct Tab *det, int xroot, int yroot) done: tabfocus(det, 0); XMapSubwindows(dpy, c->frame); + /* no need to call shodgrouptab() and shodgroupcontainer(); tabfocus() already calls them */ ewmhsetclientsstacking(); containermoveresize(c); containerredecorate(c, NULL, NULL, 0); @@ -3764,6 +3765,7 @@ managecontainer(struct Container *c, struct Tab *t, struct Desktop *desk, int us XMapSubwindows(dpy, c->frame); containerhide(c, 0); tabfocus(t, 0); + /* no need to call shodgrouptab() and shodgroupcontainer(); tabfocus() already calls them */ ewmhsetclients(); ewmhsetclientsstacking(); } @@ -3954,6 +3956,8 @@ done: if (recalc) { containercalccols(c, 1); containermoveresize(c); + shodgrouptab(c); + shodgroupcontainer(c); if (redraw) { containerdecorate(c, NULL, NULL, 0, 0); }