diff options
author | Pierre Ossman <ossman@cendio.se> | 2011-05-26 14:59:32 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2011-05-26 14:59:32 +0000 |
commit | 63ca58e007e6f93f9f7e67d3a25716f6f1483d7f (patch) | |
tree | e85841a469b9f6e1113947c8d56f2407b1f817ca /vncviewer/DesktopWindow.cxx | |
parent | 9191164926b772e23a8a4b739102377e0aefec62 (diff) | |
download | tigervnc-63ca58e007e6f93f9f7e67d3a25716f6f1483d7f.tar.gz tigervnc-63ca58e007e6f93f9f7e67d3a25716f6f1483d7f.zip |
Make it possible to start in full screen mode.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4453 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'vncviewer/DesktopWindow.cxx')
-rw-r--r-- | vncviewer/DesktopWindow.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vncviewer/DesktopWindow.cxx b/vncviewer/DesktopWindow.cxx index 7a5b4c36..0e438e7f 100644 --- a/vncviewer/DesktopWindow.cxx +++ b/vncviewer/DesktopWindow.cxx @@ -69,6 +69,11 @@ DesktopWindow::DesktopWindow(int w, int h, const char *name, OptionsDialog::addCallback(handleOptions, this); +#ifdef HAVE_FLTK_FULLSCREEN + if (fullScreen) + fullscreen(); +#endif + show(); // The window manager might give us an initial window size that is different |