Fix regression in task icon brightness (issue #714)

This commit is contained in:
Chris Lee 2018-08-04 18:41:53 +00:00
parent 044bad6c40
commit 81c7c65a9f
2 changed files with 4 additions and 1 deletions

View file

@ -1,3 +1,6 @@
2018-08-04 master
- Fix regression in task icon brightness (issue #714)
2018-08-04 16.5
- Add new build script
- Add option to sort taskbar by application name

View file

@ -399,7 +399,7 @@ void task_update_icon(Task *task)
task->icon[k] = adjust_icon(orig_image,
panel->g_task.alpha[k],
panel->g_task.saturation[k],
panel->g_task.brightness[k] != 0);
panel->g_task.brightness[k]);
if (panel_config.mouse_effects) {
task->icon_hover[k] = adjust_icon(task->icon[k],
panel_config.mouse_over_alpha,