]> source.dussan.org Git - tigervnc.git/commitdiff
Make it possible to start in full screen mode.
authorPierre Ossman <ossman@cendio.se>
Thu, 26 May 2011 14:59:32 +0000 (14:59 +0000)
committerPierre Ossman <ossman@cendio.se>
Thu, 26 May 2011 14:59:32 +0000 (14:59 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4453 3789f03b-4d11-0410-bbf8-ca57d06f2519

vncviewer/DesktopWindow.cxx

index 7a5b4c3619d6c6abbfc6e6f24537ebf604999496..0e438e7fd7b212972f5d715b9ba2c2e02717461c 100644 (file)
@@ -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