diff options
author | Pierre Ossman <ossman@cendio.se> | 2012-07-13 11:22:55 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2012-07-13 11:22:55 +0000 |
commit | aae3891bc7380c23322214b9e2781b636c3d7199 (patch) | |
tree | a8cb23609213f033c42b3486eb2871f686504aad /vncviewer/OptionsDialog.cxx | |
parent | c314d08990d063d064498c654d0b4652437a304f (diff) | |
download | tigervnc-aae3891bc7380c23322214b9e2781b636c3d7199.tar.gz tigervnc-aae3891bc7380c23322214b9e2781b636c3d7199.zip |
Implement client side multi-head support. Requires a FLTK patched to support
fullscreen over multiple monitors. Will properly report screen configuration
to the server, provided the server supports it.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4935 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'vncviewer/OptionsDialog.cxx')
-rw-r--r-- | vncviewer/OptionsDialog.cxx | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/vncviewer/OptionsDialog.cxx b/vncviewer/OptionsDialog.cxx index c82079f5..df9f3554 100644 --- a/vncviewer/OptionsDialog.cxx +++ b/vncviewer/OptionsDialog.cxx @@ -288,6 +288,9 @@ void OptionsDialog::loadOptions(void) remoteResizeCheckbox->value(remoteResize); #ifdef HAVE_FLTK_FULLSCREEN fullScreenCheckbox->value(fullScreen); +#ifdef HAVE_FLTK_FULLSCREEN_SCREENS + fullScreenAllMonitorsCheckbox->value(fullScreenAllMonitors); +#endif // HAVE_FLTK_FULLSCREEN_SCREENS #endif // HAVE_FLTK_FULLSCREEN handleDesktopSize(desktopSizeCheckbox, this); @@ -393,6 +396,9 @@ void OptionsDialog::storeOptions(void) remoteResize.setParam(remoteResizeCheckbox->value()); #ifdef HAVE_FLTK_FULLSCREEN fullScreen.setParam(fullScreenCheckbox->value()); +#ifdef HAVE_FLTK_FULLSCREEN_SCREENS + fullScreenAllMonitors.setParam(fullScreenAllMonitorsCheckbox->value()); +#endif // HAVE_FLTK_FULLSCREEN_SCREENS #endif // HAVE_FLTK_FULLSCREEN /* Misc. */ @@ -760,6 +766,16 @@ void OptionsDialog::createScreenPage(int tx, int ty, int tw, int th) _("Full-screen mode"))); ty += CHECK_HEIGHT + TIGHT_MARGIN; +#ifdef HAVE_FLTK_FULLSCREEN_SCREENS + + fullScreenAllMonitorsCheckbox = new Fl_Check_Button(LBLRIGHT(tx + INDENT, ty, + CHECK_MIN_WIDTH, + CHECK_HEIGHT, + _("Enable full-screen mode over all monitors"))); + ty += CHECK_HEIGHT + TIGHT_MARGIN; + +#endif // HAVE_FLTK_FULLSCREEN_SCREENS + #endif // HAVE_FLTK_FULLSCREEN group->end(); |