mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-12 13:30:01 -05:00
fix: confuse focus for xim popup window when re-map client by click tray
This commit is contained in:
parent
a190b10a03
commit
8bd7f0e708
1 changed files with 4 additions and 2 deletions
|
|
@ -4510,8 +4510,10 @@ void setmon(Client *c, Monitor *m, unsigned int newtags, bool focus) {
|
||||||
setfloating(c, c->isfloating);
|
setfloating(c, c->isfloating);
|
||||||
setfullscreen(c, c->isfullscreen); /* This will call arrange(c->mon) */
|
setfullscreen(c, c->isfullscreen); /* This will call arrange(c->mon) */
|
||||||
}
|
}
|
||||||
if (m && focus)
|
|
||||||
focusclient(focustop(m), 1);
|
if (focus) {
|
||||||
|
focusclient(focustop(selmon), 1);
|
||||||
|
}
|
||||||
|
|
||||||
if (m) {
|
if (m) {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue