aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormuennich <be.muennich@googlemail.com>2012-12-20 09:57:36 +0100
committermuennich <be.muennich@googlemail.com>2012-12-20 09:57:36 +0100
commit5106472d8b353ef34cdd867b3240f5a1815fb7d7 (patch)
treef76f6786223e18e8abb1acd44f5095a03c6e0474
parent69a6df2762688b1a4fa5445c7124c699c0524c6f (diff)
Fixed issue #72
-rw-r--r--Makefile2
-rw-r--r--main.c6
2 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index b1a74ff..6b55a65 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-VERSION = git-20120831
+VERSION = git-20121220
PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man
diff --git a/main.c b/main.c
index 2595889..55db498 100644
--- a/main.c
+++ b/main.c
@@ -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);