From 81c7c65a9fd64cd560d7715a22e839cbb8dad914 Mon Sep 17 00:00:00 2001 From: Chris Lee <@klee93> Date: Sat, 4 Aug 2018 18:41:53 +0000 Subject: [PATCH] Fix regression in task icon brightness (issue #714) --- ChangeLog | 3 +++ src/taskbar/task.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3aa97ef..a7542e3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/src/taskbar/task.c b/src/taskbar/task.c index f6f0d55..4d279be 100644 --- a/src/taskbar/task.c +++ b/src/taskbar/task.c @@ -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,