shod

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

commit 0dae908a071e1be7c533d7c1d4f74e70eef0ba30
parent 6744f4695e851108f2215d6d95b1e0a4fc325764
Author: phillbush <phillbush@cock.li>
Date:   Sat, 18 Sep 2021 20:24:42 -0300

focus dummy window when we have nothing to focus

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

diff --git a/shod.c b/shod.c @@ -3805,9 +3805,7 @@ unmanage(struct Tab *t) containerredecorate(c, NULL, NULL, 0); shodgroup(c); } - if (focus != NULL) { - tabfocus(focus->selcol->selrow->seltab, 0); - } + tabfocus((focus != NULL) ? focus->selcol->selrow->seltab : NULL, 0); } /* scan for already existing windows and adopt them */