From: Pierre Ossman Date: Thu, 26 May 2011 14:59:32 +0000 (+0000) Subject: Make it possible to start in full screen mode. X-Git-Tag: v1.1.90~325 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=63ca58e007e6f93f9f7e67d3a25716f6f1483d7f;p=tigervnc.git 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 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