mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-29 05:40:21 -04:00
fix: crash in some case when use global in multi monitor
This commit is contained in:
parent
cddbbd8bd6
commit
fc38d4b278
1 changed files with 1 additions and 1 deletions
|
|
@ -1286,7 +1286,7 @@ arrange(Monitor *m, bool want_animation) {
|
|||
|
||||
if (c->mon == m && (c->isglobal || c->isunglobal)) {
|
||||
c->tags = m->tagset[m->seltags];
|
||||
if (selmon->sel == NULL)
|
||||
if (c->mon->sel == NULL)
|
||||
focusclient(c, 0);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue