mirror of https://github.com/FreeRDP/FreeRDP
wfreerdp: disable fullscreen toggle in fix size mode.
This commit is contained in:
parent
83f8d47d20
commit
dcc4477e64
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue