herbe

[fork] notifications
Log | Files | Refs | README | LICENSE

commit b8e91b6164007f305727034ae20722d078c21dba
parent 920c0d7c250e882c9f308683aafdb0d04a861db3
Author: Samuel Dudik <samuel.dudik@gmail.com>
Date:   Thu, 30 Jul 2020 12:41:37 +0200

Clear window before redrawing

Diffstat:
Mmain.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/main.c b/main.c @@ -68,6 +68,7 @@ int main(int argc, char *argv[]) if (event.type == Expose) { + XClearWindow(display, window); XftDrawString8(draw, &color, font, text_padding, height - text_padding, (XftChar8 *)argv[1], strlen(argv[1])); } if (event.type == ButtonPress)