override keyboard infomation #1950
This commit is contained in:
@@ -278,6 +278,18 @@ xrdp_rdp_read_config(const char *xrdp_ini, struct xrdp_client_info *client_info)
|
||||
{
|
||||
g_strncpy(client_info->domain_user_separator, value, sizeof(client_info->domain_user_separator) - 1);
|
||||
}
|
||||
else if (g_strcasecmp(item, "xrdp.override_keyboard_type") == 0)
|
||||
{
|
||||
client_info->xrdp_keyboard_overrides.type = g_atoix(value);
|
||||
}
|
||||
else if (g_strcasecmp(item, "xrdp.override_keyboard_subtype") == 0)
|
||||
{
|
||||
client_info->xrdp_keyboard_overrides.subtype = g_atoix(value);
|
||||
}
|
||||
else if (g_strcasecmp(item, "xrdp.override_keylayout") == 0)
|
||||
{
|
||||
client_info->xrdp_keyboard_overrides.layout = g_atoix(value);
|
||||
}
|
||||
}
|
||||
|
||||
list_delete(items);
|
||||
|
||||
Reference in New Issue
Block a user