mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-07-05 00:06:20 -04:00
opt: optimize swallow in ipc action
This commit is contained in:
parent
bffa140a78
commit
aa56df474f
8 changed files with 43 additions and 30 deletions
|
|
@ -2197,6 +2197,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