X-Git-Url: https://git.tld-linux.org/?p=packages%2Fxrdp.git;a=blobdiff_plain;f=default_keymap.patch;fp=default_keymap.patch;h=76e26a19905a6d5c52924fc50ab98a2074c78d6f;hp=0000000000000000000000000000000000000000;hb=ff65cdbbd6ea4ce34c1381ea3c6d5da88db8ac35;hpb=64b912db915190fd50443dd67f200ccebd2a683d diff --git a/default_keymap.patch b/default_keymap.patch new file mode 100644 index 0000000..76e26a1 --- /dev/null +++ b/default_keymap.patch @@ -0,0 +1,20 @@ +Ensure that the default keymap is US english if there is a problem locating one. + +Index: xrdp/xrdp/lang.c +=================================================================== +--- xrdp.orig/xrdp/lang.c 2012-09-29 13:01:00.267338590 +0200 ++++ xrdp/xrdp/lang.c 2012-09-29 13:03:28.446647925 +0200 +@@ -239,6 +239,13 @@ + g_file_close(fd); + } + } ++ else if (keylayout != 0x409) ++ { ++ g_free(filename); ++ g_writeln("keymap for 0x%4.4x was not found. Falling back to 0x0409 instead", ++ keylayout); ++ return get_keymaps(0x409, keymap); ++ } + g_free(filename); + return 0; + }