projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72cd36c
)
Ignore gdi_resize if not initialized.
author
Armin Novak
<armin.novak@thincast.com>
Thu, 20 Jul 2017 10:33:56 +0000
(12:33 +0200)
committer
Armin Novak
<armin.novak@thincast.com>
Thu, 20 Jul 2017 10:33:56 +0000
(12:33 +0200)
client/Mac/MRDPView.m
patch
|
blob
|
history
diff --git
a/client/Mac/MRDPView.m
b/client/Mac/MRDPView.m
index
a8c5805
..
5080f43
100644
(file)
--- a/
client/Mac/MRDPView.m
+++ b/
client/Mac/MRDPView.m
@@
-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,