mirror of https://github.com/FreeRDP/FreeRDP
Fixed decoration in embedded mode in Windows
This commit is contained in:
parent
afbebbcdf7
commit
fcb9ccd215
|
@ -388,6 +388,9 @@ BOOL wf_post_connect(freerdp* instance)
|
|||
else
|
||||
_snwprintf(lpWindowName, ARRAYSIZE(lpWindowName), L"FreeRDP: %S:%d", settings->ServerHostname, settings->ServerPort);
|
||||
|
||||
if (settings->EmbeddedWindow)
|
||||
settings->Decorations = FALSE;
|
||||
|
||||
if (!settings->Decorations)
|
||||
dwStyle = WS_CHILD | WS_BORDER;
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue