mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-07-11 11:05:00 -04:00
opt: optimize swallow in ipc action
This commit is contained in:
parent
76de8206dd
commit
e914d76acd
8 changed files with 55 additions and 36 deletions
|
|
@ -2196,6 +2196,13 @@ int32_t focusid(const Arg *arg) {
|
|||
return 0;
|
||||
|
||||
Client *c = arg->tc;
|
||||
|
||||
if (c->swallowdby)
|
||||
return 0;
|
||||
|
||||
if (c->group_next || c->group_prev)
|
||||
client_focus_group_member(c);
|
||||
|
||||
client_active(c);
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue