1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-11-18 13:55:11 -05:00
polybar/include
patrick96 e89da58940
fix(builder): Properly apply alpha for fg and bg
It was not quite clear how try_apply_alpha should behave if the given
color was not ALPHA_ONLY. The implementation just returned 'this'.
However, the build relied on it returning the given color.

This broke all bg and fg settings in the entire bar.

To clear this up, we switch this around take the alpha channel of 'this'
and also return 'this' if it isn't ALPHA_ONLY.

Fixes #2255
2020-12-01 14:53:41 +01:00
..
adapters feat(pulse): Show volume in decibels (#1894) 2019-10-09 02:13:57 +02:00
cairo refactor(color): Better channel function names 2020-11-27 22:08:03 +01:00
components controller: Detach shell commands from polybar 2020-11-29 03:53:59 +01:00
drawtypes Load rgba from config instead of strings. 2020-11-27 22:08:03 +01:00
events Print error message for invalid color strings 2020-11-27 22:08:03 +01:00
modules Load rgba from config instead of strings. 2020-11-27 22:08:03 +01:00
utils fix(builder): Properly apply alpha for fg and bg 2020-12-01 14:53:41 +01:00
x11 Adapt the renderer side to always use rgba 2020-11-27 22:08:03 +01:00
CMakeLists.txt build: remove xdamage extension 2019-06-03 00:46:12 +02:00
common.hpp refactor(build): Remove version number namespace 2019-05-17 16:49:47 +02:00
debug.hpp refactor: Cleanup 2017-01-11 03:07:28 +01:00
errors.hpp Add missing <stdexcept> header 2019-12-25 01:00:29 +01:00
settings.hpp.cmake ipc: Remove unused global setting 2019-11-01 11:12:40 +01:00