From 4c10947be5885d977a252d6300f4cb2b5646d8ec Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 7 Aug 2002 01:30:19 +0000 Subject: [PATCH] subtract 1 from teh workspace number specified --- util/epist/actions.cc | 4 ++-- 1 file 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--; } -- 2.39.2