summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/epist/actions.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/epist/actions.cc b/util/epist/actions.cc
index 82e61ae3..afe33e35 100644
--- a/util/epist/actions.cc
+++ b/util/epist/actions.cc
@@ -46,6 +46,6 @@ Action::Action(enum ActionType type, KeyCode keycode, unsigned int modifierMask,
_numberParam = atoi( str.c_str() );
- if (type == changeWorkspace)
- _numberParam;
+ if (type == changeWorkspace) // workspace 1 to the user is workspace 0 to us
+ _numberParam--;
}