mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-06-28 13:14:16 -04:00
fix: fix group cross monitor
This commit is contained in:
parent
7a93414f36
commit
a766994a8e
3 changed files with 59 additions and 32 deletions
|
|
@ -2761,8 +2761,10 @@ void closemon(Monitor *m) {
|
|||
}
|
||||
|
||||
c->mon = NULL;
|
||||
client_set_group_mon(c, NULL);
|
||||
} else {
|
||||
client_change_mon(c, selmon);
|
||||
client_set_group_mon(c, selmon);
|
||||
}
|
||||
// record the oldmonname which is used to restore
|
||||
if (c->oldmonname[0] == '\0') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue