From 75081d228ea93bd30d584e52e875baf663309819 Mon Sep 17 00:00:00 2001 From: Markus Teich Date: Wed, 22 Apr 2015 11:57:08 +0200 Subject: [PATCH] blank screen before drawing text --- sent.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sent.c b/sent.c index 4988650..e221398 100644 --- a/sent.c +++ b/sent.c @@ -551,6 +551,7 @@ void xdraw() XClearWindow(xw.dpy, xw.win); if (!im) { + drw_rect(d, 0, 0, xw.w, xw.h, 1, 1); drw_text(d, (xw.w - width) / 2, (xw.h - height) / 2, width, height, slides[idx].text, 0); drw_map(d, xw.win, 0, 0, xw.w, xw.h); } else if (!(im->state & LOADED) && !pngread(im))