summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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--;
}