Merge pull request #5251 from daher13/fix/format-backlight-module

fix: fix module backlight format using clang
This commit is contained in:
Alexis Rouillard
2026-08-13 14:24:41 +02:00
committed by GitHub
+2 -1
View File
@@ -124,7 +124,8 @@ bool waybar::modules::Backlight::handleScroll(GdkEventScroll* e) {
return true;
}
if (current - step < min_brightness) {
backend.set_scaled_brightness(preferred_device_, static_cast<int>(std::round(min_brightness)));
backend.set_scaled_brightness(preferred_device_,
static_cast<int>(std::round(min_brightness)));
return true;
}
}