|
|
|
@ -236,7 +236,9 @@ xrdp_load_keyboard_layout(struct xrdp_client_info *client_info)
|
|
|
|
|
char keyboard_cfg_file[256] = { 0 };
|
|
|
|
|
char rdp_layout[256] = { 0 };
|
|
|
|
|
|
|
|
|
|
LLOGLN(0, ("xrdp_load_keyboard_layout:"));
|
|
|
|
|
LLOGLN(0, ("xrdp_load_keyboard_layout: keyboard_type [%d] keyboard_subtype [%d]",
|
|
|
|
|
client_info->keyboard_type, client_info->keyboard_subtype));
|
|
|
|
|
|
|
|
|
|
/* infer model/variant */
|
|
|
|
|
/* TODO specify different X11 keyboard models/variants */
|
|
|
|
|
g_memset(client_info->model, 0, sizeof(client_info->model));
|
|
|
|
@ -422,8 +424,8 @@ xrdp_load_keyboard_layout(struct xrdp_client_info *client_info)
|
|
|
|
|
list_delete(values);
|
|
|
|
|
|
|
|
|
|
LLOGLN(0, ("xrdp_load_keyboard_layout: model [%s] variant [%s] "
|
|
|
|
|
"layout [%s]", client_info->model, client_info->variant,
|
|
|
|
|
client_info->layout));
|
|
|
|
|
"layout [%s] options [%s]", client_info->model,
|
|
|
|
|
client_info->variant, client_info->layout, client_info->options));
|
|
|
|
|
g_file_close(fd);
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|