Fixed issue #72
This commit is contained in:
parent
69a6df2762
commit
5106472d8b
2
Makefile
2
Makefile
@ -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
6
main.c
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user