1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2024-11-25 14:06:08 -05:00

config_libconfig: drop unnecessary warning

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui 2020-12-03 05:46:17 +00:00
parent bb54da0039
commit e1bed6a84b
No known key found for this signature in database
GPG key ID: D3A4405BE6CC17F4

View file

@ -590,7 +590,7 @@ char *parse_config_libconfig(options_t *opt, const char *config_file, bool *shad
// --max-brightness
if (config_lookup_float(&cfg, "max-brightness", &opt->max_brightness) &&
opt->use_damage) {
opt->use_damage && opt->max_brightness < 1) {
log_warn("max-brightness requires use-damage = false. Falling back to "
"1.0");
opt->max_brightness = 1.0;