diff options
author | muennich <be.muennich@googlemail.com> | 2012-12-20 09:57:36 +0100 |
---|---|---|
committer | muennich <be.muennich@googlemail.com> | 2012-12-20 09:57:36 +0100 |
commit | 5106472d8b353ef34cdd867b3240f5a1815fb7d7 (patch) | |
tree | f76f6786223e18e8abb1acd44f5095a03c6e0474 /main.c | |
parent | 69a6df2762688b1a4fa5445c7124c699c0524c6f (diff) | |
download | nsxiv-5106472d8b353ef34cdd867b3240f5a1815fb7d7.tar.zst |
Fixed issue #72
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -479,10 +479,12 @@ void run(void) { break; case ConfigureNotify: if (win_configure(&win, &ev.xconfigure)) { - if (mode == MODE_IMAGE) + if (mode == MODE_IMAGE) { + img.dirty = true; img.checkpan = true; - else + } else { tns.dirty = true; + } if (!resized || win.fullscreen) { redraw(); set_timeout(clear_resize, TO_REDRAW_RESIZE, false); |