diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-08-07 02:17:01 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-08-07 02:17:01 +0000 |
| commit | e5e886bc0f865d0542d652aaa5bdd6b39396e9c3 (patch) | |
| tree | b202784b5cf076e1560fcc407d7c242a7daaa6ee /util | |
| parent | 1f539dccc6b6cc041016aca420390b3d097e6fbd (diff) | |
sendTo and goto workspaces both need to start at 0, not 1
Diffstat (limited to 'util')
| -rw-r--r-- | util/epist/actions.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/epist/actions.cc b/util/epist/actions.cc index 11871950..c4874983 100644 --- a/util/epist/actions.cc +++ b/util/epist/actions.cc @@ -52,6 +52,7 @@ Action::Action(enum ActionType type, KeyCode keycode, unsigned int modifierMask, _numberParam = atoi( str.c_str() ); - if (type == changeWorkspace) // workspace 1 to the user is workspace 0 to us + // workspace 1 to the user is workspace 0 to us + if (type == changeWorkspace || type == sendToWorkspace) _numberParam--; } |
