mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2024-11-23 18:03:30 +08:00
WM_GETMINMAXINFO: use latest determined canvas diff
This commit is contained in:
parent
e95b6aece9
commit
91ef3ed843
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user