From 5250540d6ca954989c7e7222d77418fd167f303f Mon Sep 17 00:00:00 2001 From: fluxgen Date: Tue, 26 Feb 2002 22:19:51 +0000 Subject: added SendToWorkspace --- src/Keys.cc | 4 +++- src/Keys.hh | 11 ++++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/Keys.cc b/src/Keys.cc index d52fdbf..ffc7a6e 100644 --- a/src/Keys.cc +++ b/src/Keys.cc @@ -19,7 +19,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -//$Id: Keys.cc,v 1.11 2002/02/21 00:39:08 fluxgen Exp $ +//$Id: Keys.cc,v 1.12 2002/02/26 22:19:43 fluxgen Exp $ #ifdef HAVE_CONFIG_H # include "config.h" @@ -94,6 +94,7 @@ Keys::t_actionstr Keys::m_actionlist[] = { {"Workspace10", WORKSPACE10}, {"Workspace11", WORKSPACE11}, {"Workspace12", WORKSPACE12}, + {"SendToWorkspace", SENDTOWORKSPACE}, {"NextWorkspace", NEXTWORKSPACE}, {"PrevWorkspace", PREVWORKSPACE}, {"LeftWorkspace", LEFTWORKSPACE}, @@ -279,6 +280,7 @@ bool Keys::load(char *filename) { strlen(getActionStr(Keys::EXECUTE))); break; case WORKSPACE: + case SENDTOWORKSPACE: if (argc + 1 < val.size()) last_key->param = atoi( val[argc+1].c_str()); else diff --git a/src/Keys.hh b/src/Keys.hh index 8c018bb..330a609 100644 --- a/src/Keys.hh +++ b/src/Keys.hh @@ -19,7 +19,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Keys.hh,v 1.7 2002/02/20 23:10:48 fluxgen Exp $ +// $Id: Keys.hh,v 1.8 2002/02/26 22:19:51 fluxgen Exp $ #ifndef KEYS_HH #define KEYS_HH @@ -31,15 +31,20 @@ class Keys { public: -enum KeyAction{ + + enum KeyAction{ ICONIFY=0, RAISE, LOWER, CLOSE, ABORTKEYCHAIN, - WORKSPACE, + WORKSPACE, WORKSPACE1, WORKSPACE2, WORKSPACE3, WORKSPACE4, WORKSPACE5, WORKSPACE6, WORKSPACE7, WORKSPACE8, WORKSPACE9, WORKSPACE10, WORKSPACE11, WORKSPACE12, + SENDTOWORKSPACE, + SENDTOWORKSPACE1, SENDTOWORKSPACE2, SENDTOWORKSPACE3, SENDTOWORKSPACE4, + SENDTOWORKSPACE5, SENDTOWORKSPACE6, SENDTOWORKSPACE7, SENDTOWORKSPACE8, + SENDTOWORKSPACE9, SENDTOWORKSPACE10, SENDTOWORKSPACE11, SENDTOWORKSPACE12, NEXTWORKSPACE, PREVWORKSPACE, LEFTWORKSPACE, RIGHTWORKSPACE, KILLWINDOW, NEXTWINDOW, PREVWINDOW, -- cgit v0.11.2