]> git.corax.cc Git - mwm/commit
monitor: Use double-buffering to draw the status bar
authorMatthias Kruk <m@m10k.eu>
Mon, 21 Jun 2021 21:55:18 +0000 (06:55 +0900)
committerMatthias Kruk <m@m10k.eu>
Mon, 21 Jun 2021 21:55:18 +0000 (06:55 +0900)
commiteca13eef6574d0f06204a1c4b9feda149e604eb3
treefab69dbba9d952f645f93c4c5b84a22d02f55312
parent7d019098ccdc3935bff2cfbfa734f07fa42b2a4c
monitor: Use double-buffering to draw the status bar

The status bar sometimes flickers when it is redrawn because the
displayed bar is redrawn directly, without getting buffered.
This commit adds an intermediary buffer that is used to render the
status bar before its contents are copied into its window.
monitor.c
mwm.c
mwm.h