fix: bw will reset by a wrong way

This commit is contained in:
DreamMaoMao 2025-06-14 12:12:36 +08:00
parent 7f5cf991a3
commit be7d81d337

View file

@ -2363,7 +2363,7 @@ void reload_config(const Arg *arg) {
// reset border width when config change
wl_list_for_each(c, &clients, link) {
if (c && !c->iskilling) {
if (c->bw) {
if (c->bw && !c->isnoborder) {
c->bw = borderpx;
}
}