Fixed issue #72

This commit is contained in:
muennich 2012-12-20 09:57:36 +01:00
parent 69a6df2762
commit 5106472d8b
2 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,4 @@
VERSION = git-20120831
VERSION = git-20121220
PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man

6
main.c
View File

@ -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);