mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-07-05 00:06:20 -04:00
Fix crash when disabling outputs with scratchpad clients
This commit is contained in:
parent
adeaaada45
commit
a4d496902b
1 changed files with 2 additions and 1 deletions
|
|
@ -5,7 +5,8 @@ bool check_hit_no_border(Client *c) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (c->mon && !c->mon->isoverview &&
|
if (c->mon && !c->mon->isoverview &&
|
||||||
c->mon->pertag->no_render_border[get_tags_first_tag_num(c->tags)]) {
|
c->mon->pertag->no_render_border[get_tags_first_tag_num(
|
||||||
|
c->tags ? c->tags : c->mon->tagset[c->mon->seltags])]) {
|
||||||
hit_no_border = true;
|
hit_no_border = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue