Ignore gdi_resize if not initialized.

This commit is contained in:
Armin Novak 2017-07-20 12:33:56 +02:00
parent 72cd36c112
commit d5a582f91e

View File

@ -1231,6 +1231,10 @@ BOOL mac_desktop_resize(rdpContext* context)
mfContext* mfc = (mfContext*) context;
MRDPView* view = (MRDPView*) mfc->view;
rdpSettings* settings = context->settings;
if (!context->gdi)
return TRUE;
/**
* TODO: Fix resizing race condition. We should probably implement a message to be
* put on the update message queue to be able to properly flush pending updates,