projects
/
sent.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8215db7
)
drw_resize should be called on mapping as well
author
Markus Teich
<markus.teich@stusta.mhn.de>
Sun, 3 May 2015 20:07:51 +0000
(22:07 +0200)
committer
Markus Teich
<markus.teich@stusta.mhn.de>
Sun, 3 May 2015 20:08:30 +0000
(22:08 +0200)
sent.c
patch
|
blob
|
history
diff --git
a/sent.c
b/sent.c
index e05bc4d6e47b60a8725350be03b13a0cb553a70c..2561f648e9879fbc10d15fde6658e15180f7dc4b 100644
(file)
--- a/
sent.c
+++ b/
sent.c
@@
-431,6
+431,7
@@
void resize(int width, int height)
xw.h = height;
xw.uw = usablewidth * width;
xw.uh = usableheight * height;
+ drw_resize(d, width, height);
}
void run()
@@
-592,7
+593,6
@@
void kpress(XEvent *e)
void configure(XEvent *e)
{
resize(e->xconfigure.width, e->xconfigure.height);
- drw_resize(d, e->xconfigure.width, e->xconfigure.height);
if (slides[idx].img)
slides[idx].img->state &= ~(DRAWN | SCALED);
xdraw();