From 5106472d8b353ef34cdd867b3240f5a1815fb7d7 Mon Sep 17 00:00:00 2001 From: muennich Date: Thu, 20 Dec 2012 09:57:36 +0100 Subject: [PATCH] Fixed issue #72 --- Makefile | 2 +- main.c | 6 ++++-- 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);