aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/parameters.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vncviewer/parameters.cxx')
-rw-r--r--vncviewer/parameters.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/vncviewer/parameters.cxx b/vncviewer/parameters.cxx
index 0cf5436e..bb8e47fa 100644
--- a/vncviewer/parameters.cxx
+++ b/vncviewer/parameters.cxx
@@ -55,6 +55,10 @@ static LogWriter vlog("Parameters");
IntParameter pointerEventInterval("PointerEventInterval",
"Time in milliseconds to rate-limit"
" successive pointer events", 17);
+BoolParameter emulateMiddleButton("EmulateMiddleButton",
+ "Emulate middle mouse button by pressing "
+ "left and right mouse buttons simultaneously",
+ false);
BoolParameter dotWhenNoCursor("DotWhenNoCursor",
"Show the dot cursor when the server sends an "
"invisible cursor", false);
@@ -158,6 +162,7 @@ static VoidParameter* parameterArray[] = {
&CSecurityTLS::X509CRL,
#endif // HAVE_GNUTLS
&SecurityClient::secTypes,
+ &emulateMiddleButton,
&dotWhenNoCursor,
&autoSelect,
&fullColour,