]> git.corax.cc Git - mwm/commit
monitor: Draw the background of the status bar in the background color
authorMatthias Kruk <m@m10k.eu>
Sun, 23 May 2021 22:00:24 +0000 (07:00 +0900)
committerMatthias Kruk <m@m10k.eu>
Sun, 23 May 2021 22:00:24 +0000 (07:00 +0900)
commite04cbea60f6f50b902e6e4f3508456c96c8a3b53
treef74d5586f87d9d4a38ec5619c1f5102e10bc1f8e
parent75097c4739dadf8f8a323246b1097666850c581e
monitor: Draw the background of the status bar in the background color

The background of the status bar is drawn in the focus color of the
current palette, meaning that the bar has a different background color
on focused and non-focused screens. This is no problem per-se, but it
makes it hard to predict if a status message will be readable or not,
especially if it uses colored text.
This commit changes the status bar to be drawn in the background color
and the focus color be used to draw a border on the left and bottom
sides of the status bar.
monitor.c