fix x11 black RAIL window when connect to server 2019

Signed-off-by: 2fly2 <wjatchd@163.com>
This commit is contained in:
2fly2 2022-04-22 11:18:26 +08:00 committed by akallabeth
parent 934fbe37d1
commit 83aaa4e575

View File

@ -1436,7 +1436,10 @@ static int xf_logon_error_info(freerdp* instance, UINT32 data, UINT32 type)
const char* str_data = freerdp_get_logon_error_info_data(data);
const char* str_type = freerdp_get_logon_error_info_type(type);
WLog_INFO(TAG, "Logon Error Info %s [%s]", str_data, str_type);
xf_rail_disable_remoteapp_mode(xfc);
if(type != LOGON_MSG_SESSION_CONTINUE)
{
xf_rail_disable_remoteapp_mode(xfc);
}
return 1;
}