aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);