wfreerdp: disable fullscreen toggle in fix size mode.

This commit is contained in:
Zhang Zhaolong 2014-03-04 13:50:31 +08:00
parent 83f8d47d20
commit dcc4477e64
1 changed files with 4 additions and 2 deletions

View File

@ -236,6 +236,7 @@ BOOL wf_pre_connect(freerdp* instance)
settings->GlyphSupportLevel = GLYPH_SUPPORT_NONE;
wfc->fullscreen = settings->Fullscreen;
if (wfc->fullscreen)
wfc->fs_toggle = 1;
wfc->sw_gdi = settings->SoftwareGdi;
@ -444,6 +445,7 @@ BOOL wf_post_connect(freerdp* instance)
freerdp_channels_post_connect(instance->context->channels, instance);
wf_cliprdr_init(wfc, instance->context->channels);
if (wfc->fullscreen)
floatbar_window_create(wfc);
return TRUE;