diff options
author | Peter Åstrand <astrand@cendio.se> | 2005-01-28 14:52:50 +0000 |
---|---|---|
committer | Peter Åstrand <astrand@cendio.se> | 2005-01-28 14:52:50 +0000 |
commit | 57dcc4550784b321ffed24ac387f18a139d35afd (patch) | |
tree | 387b7eb5f22cf900a18c3c1abc2f576891bef906 /vncviewer/OptionsDialog.cxx | |
parent | 5c13c669b2684007c473ae4c1aa7a120c10f3d52 (diff) | |
download | tigervnc-57dcc4550784b321ffed24ac387f18a139d35afd.tar.gz tigervnc-57dcc4550784b321ffed24ac387f18a139d35afd.zip |
Added new option, SendSysKeys, which controls if Alt-Tab, Alt-F4 and Alt-Space should be handled locally, or sent to the server
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@127 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'vncviewer/OptionsDialog.cxx')
-rw-r--r-- | vncviewer/OptionsDialog.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vncviewer/OptionsDialog.cxx b/vncviewer/OptionsDialog.cxx index 954631fe..8655dc70 100644 --- a/vncviewer/OptionsDialog.cxx +++ b/vncviewer/OptionsDialog.cxx @@ -188,6 +188,7 @@ public: virtual void initDialog() { setItemChecked(IDC_SEND_POINTER, dlg->options.sendPtrEvents); setItemChecked(IDC_SEND_KEYS, dlg->options.sendKeyEvents); + setItemChecked(IDC_SEND_SYSKEYS, dlg->options.sendSysKeys); setItemChecked(IDC_CLIENT_CUTTEXT, dlg->options.clientCutText); setItemChecked(IDC_SERVER_CUTTEXT, dlg->options.serverCutText); setItemChecked(IDC_EMULATE3, dlg->options.emulate3); @@ -210,6 +211,7 @@ public: virtual bool onOk() { dlg->options.sendPtrEvents = isItemChecked(IDC_SEND_POINTER); dlg->options.sendKeyEvents = isItemChecked(IDC_SEND_KEYS); + dlg->options.sendSysKeys = isItemChecked(IDC_SEND_SYSKEYS); dlg->options.clientCutText = isItemChecked(IDC_CLIENT_CUTTEXT); dlg->options.serverCutText = isItemChecked(IDC_SERVER_CUTTEXT); dlg->options.emulate3 = isItemChecked(IDC_EMULATE3); |