added SendToWorkspace
fluxgen fluxgen
2 files changed,
11 insertions(+),
4 deletions(-)
M
src/Keys.cc
→
src/Keys.cc
@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// 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 @@ {"Workspace9", WORKSPACE9},
{"Workspace10", WORKSPACE10}, {"Workspace11", WORKSPACE11}, {"Workspace12", WORKSPACE12}, + {"SendToWorkspace", SENDTOWORKSPACE}, {"NextWorkspace", NEXTWORKSPACE}, {"PrevWorkspace", PREVWORKSPACE}, {"LeftWorkspace", LEFTWORKSPACE},@@ -279,6 +280,7 @@ getActionStr(Keys::EXECUTE))+
strlen(getActionStr(Keys::EXECUTE))); break; case WORKSPACE: + case SENDTOWORKSPACE: if (argc + 1 < val.size()) last_key->param = atoi( val[argc+1].c_str()); else
M
src/Keys.hh
→
src/Keys.hh
@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// 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,