mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-03-04 01:40:27 -05:00
fix: avoid use null mon when session not active
This commit is contained in:
parent
a3bdb5138f
commit
7e5c755451
3 changed files with 7 additions and 2 deletions
|
|
@ -1360,7 +1360,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