fix: open_as_floating not match tag correctly

This commit is contained in:
DreamMaoMao 2026-03-19 07:36:50 +08:00
parent f560a0e36c
commit 6f860e8364
2 changed files with 6 additions and 6 deletions

View file

@ -5,7 +5,7 @@ bool check_hit_no_border(Client *c) {
}
if (c->mon && !c->mon->isoverview &&
c->mon->pertag->no_render_border[get_tags_first_tag_num(c->tags) + 1]) {
c->mon->pertag->no_render_border[get_tags_first_tag_num(c->tags)]) {
hit_no_border = true;
}