summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-08-07 01:30:19 +0000
committerDana Jansens <danakj@orodu.net>2002-08-07 01:30:19 +0000
commit4c10947be5885d977a252d6300f4cb2b5646d8ec (patch)
treefab2317f309004c62f84c7eb00f3be6937c769d8 /util
parent72c56d793b21cb0dae7a6a3d0baf580dacc4a34f (diff)
subtract 1 from teh workspace number specified
Diffstat (limited to 'util')
-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--;
}