summaryrefslogtreecommitdiff
path: root/apps/win_main.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2011-08-29 22:12:49 +0200
committerTor Andersson <tor.andersson@artifex.com>2011-08-29 22:12:49 +0200
commit3a0ebfb6a200445646460cff8337a50496dd2082 (patch)
tree4522f8d0018c82999d83d48ec24bd9e0974bc039 /apps/win_main.c
parent822ce1df6773e1934f50d035756ecca0f6d4cae1 (diff)
downloadmupdf-3a0ebfb6a200445646460cff8337a50496dd2082.tar.xz
Turn off shrinkwrap mode when maximizing the window.
Diffstat (limited to 'apps/win_main.c')
-rw-r--r--apps/win_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/win_main.c b/apps/win_main.c
index 517a1c6c..d98a6742 100644
--- a/apps/win_main.c
+++ b/apps/win_main.c
@@ -689,6 +689,8 @@ frameproc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
info();
return 0;
}
+ if (wParam == SC_MAXIMIZE)
+ gapp.shrinkwrap = 0;
break;
case WM_SIZE: