fix: avoid use null mon when session not active
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user