Archived
fix: crash when use no_border_when_single
This commit is contained in:
1 parent
36eb95f138
commit
7df6c5c419
1 file changed
+1
-1
+1
-1
@@ -1077,7 +1077,7 @@ bool check_hit_no_border(Client *c) {
|
||||
}
|
||||
}
|
||||
|
||||
if (no_border_when_single && c->mon->visible_clients == 1) {
|
||||
if (no_border_when_single && c && c->mon && c->mon->visible_clients == 1) {
|
||||
hit_no_border = true;
|
||||
}
|
||||
return hit_no_border;
|
||||
|
||||
Reference in new issue
Block a user