fix: fix module backlight format using clang
This commit is contained in:
@@ -124,7 +124,8 @@ bool waybar::modules::Backlight::handleScroll(GdkEventScroll* e) {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (current - step < min_brightness) {
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user