projects
/
sent.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5394f7f
)
blank screen before drawing text
author
Markus Teich
<markus.teich@stusta.mhn.de>
Wed, 22 Apr 2015 09:57:08 +0000
(11:57 +0200)
committer
Markus Teich
<markus.teich@stusta.mhn.de>
Wed, 22 Apr 2015 09:57:08 +0000
(11:57 +0200)
sent.c
patch
|
blob
|
history
diff --git
a/sent.c
b/sent.c
index 4988650bd90653c39c0e7f3204495a29a46fc605..e221398d74a346474490409267f2e30f7adc586b 100644
(file)
--- 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))