Fix regression in task icon brightness (issue #714)
This commit is contained in:
parent
044bad6c40
commit
81c7c65a9f
2 changed files with 4 additions and 1 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
2018-08-04 master
|
||||||
|
- Fix regression in task icon brightness (issue #714)
|
||||||
|
|
||||||
2018-08-04 16.5
|
2018-08-04 16.5
|
||||||
- Add new build script
|
- Add new build script
|
||||||
- Add option to sort taskbar by application name
|
- Add option to sort taskbar by application name
|
||||||
|
|
|
@ -399,7 +399,7 @@ void task_update_icon(Task *task)
|
||||||
task->icon[k] = adjust_icon(orig_image,
|
task->icon[k] = adjust_icon(orig_image,
|
||||||
panel->g_task.alpha[k],
|
panel->g_task.alpha[k],
|
||||||
panel->g_task.saturation[k],
|
panel->g_task.saturation[k],
|
||||||
panel->g_task.brightness[k] != 0);
|
panel->g_task.brightness[k]);
|
||||||
if (panel_config.mouse_effects) {
|
if (panel_config.mouse_effects) {
|
||||||
task->icon_hover[k] = adjust_icon(task->icon[k],
|
task->icon_hover[k] = adjust_icon(task->icon[k],
|
||||||
panel_config.mouse_over_alpha,
|
panel_config.mouse_over_alpha,
|
||||||
|
|
Loading…
Reference in a new issue