mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-31 22:25:29 -04:00
fix: swallow window miss focus
This commit is contained in:
parent
6ffd3fea89
commit
ca89ab1eb9
1 changed files with 2 additions and 0 deletions
2
maomao.c
2
maomao.c
|
|
@ -1363,6 +1363,8 @@ swallow(Client *c, Client *w)
|
||||||
|
|
||||||
if(!c->foreign_toplevel && c->mon)
|
if(!c->foreign_toplevel && c->mon)
|
||||||
add_foreign_toplevel(c);
|
add_foreign_toplevel(c);
|
||||||
|
|
||||||
|
focusclient(c, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void // 0.5
|
void // 0.5
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue