aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Args.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Args.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Args.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Args.c b/nx-X11/programs/Xserver/hw/nxagent/Args.c
index ea970be02..cccfd40e0 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Args.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Args.c
@@ -1483,6 +1483,25 @@ static void nxagentParseOptions(char *name, char *value)
return;
}
+ else if (!strcmp(name, "keyconv"))
+ {
+ if (!strcmp(value, "off")) {
+ nxagentChangeOption(KeycodeConversion, KeycodeConversionOff);
+ }
+ else if (!strcmp(value, "on")) {
+ nxagentChangeOption(KeycodeConversion, KeycodeConversionOn);
+ }
+ else if (!strcmp(value, "auto")) {
+ nxagentChangeOption(KeycodeConversion, KeycodeConversionAuto);
+ }
+ else
+ {
+ fprintf(stderr, "Warning: Ignoring bad value '%s' for option 'keyconv'.\n",
+ validateString(value));
+ }
+
+ return;
+ }
else
{
#ifdef DEBUG