mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-03-07 04:34:24 -05:00
fix: avoid use null mon when session not active
This commit is contained in:
parent
ed557fa5aa
commit
23d550e04d
3 changed files with 7 additions and 2 deletions
|
|
@ -1353,7 +1353,8 @@ void applyrules(Client *c) {
|
|||
}
|
||||
}
|
||||
|
||||
set_size_per(mon, c);
|
||||
if (mon)
|
||||
set_size_per(mon, c);
|
||||
|
||||
// if no geom rule hit and is normal winodw, use the center pos and record
|
||||
// the hit size
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue