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
diff --git a/vncviewer/DesktopWindow.cxx b/vncviewer/DesktopWindow.cxx
index 7a5b4c3..0e438e7 100644
--- a/vncviewer/DesktopWindow.cxx
+++ b/vncviewer/DesktopWindow.cxx
@@ -69,6 +69,11 @@
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