mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-05-30 21:37:39 -04:00
fix: cransh in disable monitor when use scratchpad
This commit is contained in:
parent
adeaaada45
commit
9e4fade55e
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