]> git.alsa-project.org Git - alsa-utils.git/commit
alsamixer: Fix regression in color setup
authorTakashi Iwai <tiwai@suse.de>
Thu, 20 Jan 2022 07:49:17 +0000 (08:49 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 20 Jan 2022 07:58:48 +0000 (08:58 +0100)
commit40202a522aa86599bffaabf8097bf9bf1cef4f61
tree3e2086d97026e9086331290b97969651aa7da6bd
parentfca9d89bbcd45532bc0cc0491d3b3c219d7cc531
alsamixer: Fix regression in color setup

The recent change to add the background config broke the color setup
via the config file due.  Fix the regression by restoring the
initialization order back again, and changing the logic for the
default background color to be re-initializing color pairs instead.

Link: https://github.com/alsa-project/alsa-utils/issues/137
Signed-off-by: Takashi Iwai <tiwai@suse.de>
alsamixer/cli.c
alsamixer/colors.c
alsamixer/colors.h
alsamixer/configparser.c