sent

simple plaintext presentation tool
git clone git://git.suckless.org/sent
Log | Files | Refs | README | LICENSE

commit 75081d228ea93bd30d584e52e875baf663309819
parent 5394f7f539ecff863f58458cea5faaa867680ce6
Author: Markus Teich <markus.teich@stusta.mhn.de>
Date:   Wed, 22 Apr 2015 11:57:08 +0200

blank screen before drawing text

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

diff --git 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))