summaryrefslogtreecommitdiffstats
path: root/xorg/X11R7.6/rdp
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2014-11-26 19:06:28 -0800
committerJay Sorg <jay.sorg@gmail.com>2014-11-26 19:06:28 -0800
commit2010567ecc5720b9be03f2f206c597682c9ad508 (patch)
tree7f37fe0362f79286d8ae80104fda2e67da540d56 /xorg/X11R7.6/rdp
parentbff2009147c3262024c0ac20347ea55c6d4369be (diff)
downloadxrdp-proprietary-2010567ecc5720b9be03f2f206c597682c9ad508.tar.gz
xrdp-proprietary-2010567ecc5720b9be03f2f206c597682c9ad508.zip
X11rdp: set options and default 105 keyboard
Diffstat (limited to 'xorg/X11R7.6/rdp')
-rw-r--r--xorg/X11R7.6/rdp/rdpinput.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/xorg/X11R7.6/rdp/rdpinput.c b/xorg/X11R7.6/rdp/rdpinput.c
index ef0bb929..8dc4c92b 100644
--- a/xorg/X11R7.6/rdp/rdpinput.c
+++ b/xorg/X11R7.6/rdp/rdpinput.c
@@ -306,10 +306,10 @@ rdpLoadLayout(struct xrdp_client_info *client_info)
set.rules = "base";
}
- set.model = "pc104";
+ set.model = "pc105";
set.layout = "us";
set.variant = "";
- set.options = "";
+ set.options = "terminate:ctrl_alt_bksp,grp:shift_caps_toggle";
if (strlen(client_info->model) > 0)
{
@@ -360,7 +360,8 @@ rdpLoadLayout(struct xrdp_client_info *client_info)
NULL, serverClient);
}
}
- } else
+ }
+ else
{
/* sometimes, variant doesn't support all layouts */
set.variant = "";
@@ -394,10 +395,10 @@ rdpKeybdProc(DeviceIntPtr pDevice, int onoff)
{
set.rules = "base";
}
- set.model = "pc104";
+ set.model = "pc105";
set.layout = "us";
set.variant = "";
- set.options = "";
+ set.options = "terminate:ctrl_alt_bksp,grp:shift_caps_toggle";
ok = InitKeyboardDeviceStruct(pDevice, &set, rdpBell,
rdpChangeKeyboardControl);
LLOGLN(10, ("rdpKeybdProc: InitKeyboardDeviceStruct %d", ok));