fix: cransh in disable monitor when use scratchpad

This commit is contained in:
DreamMaoMao 2026-05-19 13:59:38 +08:00
parent adeaaada45
commit 9e4fade55e
3 changed files with 10 additions and 2 deletions

View file

@ -1,5 +1,12 @@
bool check_hit_no_border(Client *c) {
bool hit_no_border = false;
if (!c->mon)
return false;
if (c->tags <= 0)
return false;
if (!render_border) {
hit_no_border = true;
}