[client,x11] fix X11 access during +auth-only

fixes #9946
This commit is contained in:
akallabeth 2024-03-08 09:10:50 +01:00 committed by akallabeth
parent ef8c9e48e8
commit e53dc3dabb

View File

@ -1156,10 +1156,9 @@ static BOOL xf_pre_connect(freerdp* instance)
{
if (!xf_keyboard_init(xfc))
return FALSE;
}
if (!xf_detect_monitors(xfc, &maxWidth, &maxHeight))
return FALSE;
}
if (maxWidth && maxHeight && !freerdp_settings_get_bool(settings, FreeRDP_SmartSizing))
{