aboutsummaryrefslogtreecommitdiffstats
path: root/swaybar/bar.c
diff options
context:
space:
mode:
authorLibravatar Alexander Orzechowski <orzechowski.alexander@gmail.com>2023-03-27 08:50:44 +0200
committerLibravatar Kenny Levinsen <kl@kl.wtf>2023-04-02 01:58:02 +0200
commit9cf66e8c7cfc06680a1af055bafd7e5cc01d6fe2 (patch)
tree7a0a05ec6e0b94a4eef2b9cf4ac9496ff4768674 /swaybar/bar.c
parentswaybar: Set opaque region properly (diff)
downloadsway-9cf66e8c7cfc06680a1af055bafd7e5cc01d6fe2.tar.gz
sway-9cf66e8c7cfc06680a1af055bafd7e5cc01d6fe2.tar.zst
sway-9cf66e8c7cfc06680a1af055bafd7e5cc01d6fe2.zip
swaybar: Lift background clearing out of main rendering function
This avoids us from using a bogus background_color value that mutates as swaybar renders things and deciding opacity depending on that. Also remove a redundant full surface clear. Just directly write our desired background color.
Diffstat (limited to 'swaybar/bar.c')
0 files changed, 0 insertions, 0 deletions