opt: Adopt a more flexible way to control window hiding

This commit is contained in:
DreamMaoMao 2026-06-29 09:07:13 +08:00
parent 6b83d4d7e9
commit 634ca7a51c
5 changed files with 21 additions and 45 deletions

View file

@ -243,9 +243,7 @@ int32_t groupleave(const Arg *arg) {
tc->group_prev = NULL;
tc->group_next = NULL;
tc->isgroupfocusing = false;
wl_list_insert(&rc->link, &tc->link);
wl_list_insert(&rc->flink, &tc->flink);
tc->is_logic_hide = false;
if (!rc->group_prev && !rc->group_next) {
rc->isgroupfocusing = false;