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 PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man MANPREFIX = $(PREFIX)/share/man

6
main.c
View file

@ -479,10 +479,12 @@ void run(void) {
break; break;
case ConfigureNotify: case ConfigureNotify:
if (win_configure(&win, &ev.xconfigure)) { if (win_configure(&win, &ev.xconfigure)) {
if (mode == MODE_IMAGE) if (mode == MODE_IMAGE) {
img.dirty = true;
img.checkpan = true; img.checkpan = true;
else } else {
tns.dirty = true; tns.dirty = true;
}
if (!resized || win.fullscreen) { if (!resized || win.fullscreen) {
redraw(); redraw();
set_timeout(clear_resize, TO_REDRAW_RESIZE, false); set_timeout(clear_resize, TO_REDRAW_RESIZE, false);