diff options
author | Peter Åstrand <astrand@cendio.se> | 2012-08-27 07:28:08 +0000 |
---|---|---|
committer | Peter Åstrand <astrand@cendio.se> | 2012-08-27 07:28:08 +0000 |
commit | b182a9e03d672038a228d32d2afa37884ac4c61a (patch) | |
tree | f472dc472a2dad7508e0d70a69a31e247551bdfa /vncviewer/parameters.cxx | |
parent | 20ec073f7addf994bfea45c8afe9e234f8d9b035 (diff) | |
download | tigervnc-b182a9e03d672038a228d32d2afa37884ac4c61a.tar.gz tigervnc-b182a9e03d672038a228d32d2afa37884ac4c61a.zip |
Added a standard -geometry command line option. Such an option is
actually already documented on the man page.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4972 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'vncviewer/parameters.cxx')
-rw-r--r-- | vncviewer/parameters.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vncviewer/parameters.cxx b/vncviewer/parameters.cxx index 4c5a3dd6..9a3bcd25 100644 --- a/vncviewer/parameters.cxx +++ b/vncviewer/parameters.cxx @@ -100,6 +100,8 @@ BoolParameter fullScreenAllMonitors("FullScreenAllMonitors", StringParameter desktopSize("DesktopSize", "Reconfigure desktop size on the server on " "connect (if possible)", ""); +StringParameter geometry("geometry", + "Specify size and position of viewer window", ""); BoolParameter remoteResize("RemoteResize", "Dynamically resize the remote desktop size as " "the size of the local client window changes. " @@ -155,6 +157,7 @@ VoidParameter* parameterArray[] = { #endif // HAVE_FLTK_FULLSCREEN_SCREENS #endif // HAVE_FLTK_FULLSCREEN &desktopSize, + &geometry, &remoteResize, &viewOnly, &shared, |