diff options
author | Pierre Ossman <ossman@cendio.se> | 2011-05-26 14:48:29 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2011-05-26 14:48:29 +0000 |
commit | 407a5c3ce60e3e9d361c6d1e8a2a14c39946707e (patch) | |
tree | 46937e98dd44f48f4d79b1fb30d2f5bb9940a0a3 /vncviewer/OptionsDialog.cxx | |
parent | ad9d1aef3bbcb011b40411f2b720766c01376254 (diff) | |
download | tigervnc-407a5c3ce60e3e9d361c6d1e8a2a14c39946707e.tar.gz tigervnc-407a5c3ce60e3e9d361c6d1e8a2a14c39946707e.zip |
Implement support for grabbing the keyboard when in full screen mode.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4449 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'vncviewer/OptionsDialog.cxx')
-rw-r--r-- | vncviewer/OptionsDialog.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vncviewer/OptionsDialog.cxx b/vncviewer/OptionsDialog.cxx index 7a2cf2ed..31064ba9 100644 --- a/vncviewer/OptionsDialog.cxx +++ b/vncviewer/OptionsDialog.cxx @@ -259,6 +259,7 @@ void OptionsDialog::loadOptions(void) acceptClipboardCheckbox->value(acceptClipboard); sendClipboardCheckbox->value(sendClipboard); sendPrimaryCheckbox->value(sendPrimary); + systemKeysCheckbox->value(fullscreenSystemKeys); menuKeyChoice->value(0); @@ -352,6 +353,7 @@ void OptionsDialog::storeOptions(void) acceptClipboard.setParam(acceptClipboardCheckbox->value()); sendClipboard.setParam(sendClipboardCheckbox->value()); sendPrimary.setParam(sendPrimaryCheckbox->value()); + fullscreenSystemKeys.setParam(systemKeysCheckbox->value()); if (menuKeyChoice->value() == 0) menuKey.setParam(""); @@ -683,6 +685,12 @@ void OptionsDialog::createInputPage(int tx, int ty, int tw, int th) _("Send primary selection and cut buffer as clipboard"))); ty += CHECK_HEIGHT + TIGHT_MARGIN; + systemKeysCheckbox = new Fl_Check_Button(LBLRIGHT(tx, ty, + CHECK_MIN_WIDTH, + CHECK_HEIGHT, + _("Pass system keys directly to server (full screen)"))); + ty += CHECK_HEIGHT + TIGHT_MARGIN; + menuKeyChoice = new Fl_Choice(LBLLEFT(tx, ty, 150, CHOICE_HEIGHT, _("Menu key"))); menuKeyChoice->add(_("None"), 0, NULL, (void*)0, FL_MENU_DIVIDER); |