aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/parameters.cxx
diff options
context:
space:
mode:
authorPeter Åstrand (astrand) <astrand@cendio.se>2018-01-29 10:42:44 +0100
committerPeter Åstrand (astrand) <astrand@cendio.se>2018-01-29 10:42:44 +0100
commit3ec76bd5eb9d70ba3dde7dcfd5c5e0aa3d7d3617 (patch)
tree9b35441650041aabd0fb174d4c099184ca7f5454 /vncviewer/parameters.cxx
parent2922e749706297dba661e569b55c5252da5daecc (diff)
downloadtigervnc-3ec76bd5eb9d70ba3dde7dcfd5c5e0aa3d7d3617.tar.gz
tigervnc-3ec76bd5eb9d70ba3dde7dcfd5c5e0aa3d7d3617.zip
Don't parse FLTK arguments using Fl::arg; handle -display as other options
Fl::arg accepts several arguments which we are not documenting. Also, it accepts a -geometry argument, which clashes with our own -geometry option.
Diffstat (limited to 'vncviewer/parameters.cxx')
-rw-r--r--vncviewer/parameters.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vncviewer/parameters.cxx b/vncviewer/parameters.cxx
index 39a7f075..d24e5bcc 100644
--- a/vncviewer/parameters.cxx
+++ b/vncviewer/parameters.cxx
@@ -134,6 +134,9 @@ BoolParameter sendPrimary("SendPrimary",
"Send the primary selection to the "
"server as well as the clipboard selection",
true);
+StringParameter display("display",
+ "Specifies the X display on which the VNC viewer window should appear.",
+ "");
#endif
StringParameter menuKey("MenuKey", "The key which brings up the popup menu",