Fixed decoration in embedded mode in Windows

This commit is contained in:
Benoît LeBlanc 2013-10-02 14:33:10 -04:00
parent afbebbcdf7
commit fcb9ccd215
1 changed files with 3 additions and 0 deletions

View File

@ -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