mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2024-12-01 05:43:49 +08:00
Ignore gdi_resize if not initialized.
This commit is contained in:
parent
72cd36c112
commit
d5a582f91e
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user