Krolyxon
Commit 5106472

Branches

Refs →

nsxiv5106472

Fixed issue #72

Author
muennich
Date
2012-12-20 09:57 +0100
Parent
69a6df2
Commit
5106472d8b353ef34cdd867b3240f5a1815fb7d7

+5 −3

2 files changed

  1. M Makefile +1 −1
  2. M main.c +4 −2
M Makefile View
@@ -1,4 +1,4 @@
1−VERSION = git-20120831
1+VERSION = git-20121220
22
33 PREFIX = /usr/local
44 MANPREFIX = $(PREFIX)/share/man
M main.c View
@@ -479,10 +479,12 @@ void run(void) {
479479 break;
480480 case ConfigureNotify:
481481 if (win_configure(&win, &ev.xconfigure)) {
482− if (mode == MODE_IMAGE)
482+ if (mode == MODE_IMAGE) {
483+ img.dirty = true;
483484 img.checkpan = true;
484− else
485+ } else {
485486 tns.dirty = true;
487+ }
486488 if (!resized || win.fullscreen) {
487489 redraw();
488490 set_timeout(clear_resize, TO_REDRAW_RESIZE, false);