WM_GETMINMAXINFO: use latest determined canvas diff

This commit is contained in:
erbth 2014-08-25 15:12:44 +02:00
parent e95b6aece9
commit 91ef3ed843

View File

@ -255,7 +255,10 @@ LRESULT CALLBACK wf_event_proc(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam
// Set maximum window size for resizing
minmax = (MINMAXINFO*) lParam;
wf_update_canvas_diff(wfc);
//always use the last determined canvas diff, because it could be
//that the window is minimized when this gets called
//wf_update_canvas_diff(wfc);
if (!wfc->fullscreen)
{