aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/KeyRemapper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'common/rfb/KeyRemapper.cxx')
-rw-r--r--common/rfb/KeyRemapper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rfb/KeyRemapper.cxx b/common/rfb/KeyRemapper.cxx
index 731eb256..762eb413 100644
--- a/common/rfb/KeyRemapper.cxx
+++ b/common/rfb/KeyRemapper.cxx
@@ -87,7 +87,7 @@ class KeyMapParameter : public StringParameter {
public:
KeyMapParameter()
: StringParameter("RemapKeys", "Comma-separated list of incoming keysyms to remap. Mappings are expressed as two hex values, prefixed by 0x, and separated by ->", "") {
- setParam(value);
+ KeyRemapper::defInstance.setMapping("");
}
bool setParam(const char* v) {
KeyRemapper::defInstance.setMapping(v);