fix: bw will reset by a wrong way

This commit is contained in:
DreamMaoMao 2025-06-14 12:12:36 +08:00
parent d892b1048f
commit a34cde4e76

View file

@ -2244,7 +2244,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;
}
}