diff options
author | Markus Teich <markus.teich@stusta.mhn.de> | 2015-05-03 22:07:51 +0200 |
---|---|---|
committer | Markus Teich <markus.teich@stusta.mhn.de> | 2015-05-03 22:08:30 +0200 |
commit | d06622336b5e9ae65f69277eea1a292e3c0d6894 (patch) | |
tree | 235eeca21937e1c731805253dc442802a147411b /sent.c | |
parent | 8215db707caea46a5ba1d8b6c43ed36390b7d5d8 (diff) |
drw_resize should be called on mapping as well
Diffstat (limited to 'sent.c')
-rw-r--r-- | sent.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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(); |