mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-06-17 14:33:18 -04:00
fix: cransh in disable monitor when use scratchpad
This commit is contained in:
parent
a184b37a76
commit
f3d0c18d19
3 changed files with 10 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue