summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-08-07 02:17:01 +0000
committerDana Jansens <danakj@orodu.net>2002-08-07 02:17:01 +0000
commite5e886bc0f865d0542d652aaa5bdd6b39396e9c3 (patch)
treeb202784b5cf076e1560fcc407d7c242a7daaa6ee /util
parent1f539dccc6b6cc041016aca420390b3d097e6fbd (diff)
sendTo and goto workspaces both need to start at 0, not 1
Diffstat (limited to 'util')
-rw-r--r--util/epist/actions.cc3
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--;
}