From: Dana Jansens Date: Wed, 7 Aug 2002 01:30:19 +0000 (+0000) Subject: subtract 1 from teh workspace number specified X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=4c10947be5885d977a252d6300f4cb2b5646d8ec;hp=72c56d793b21cb0dae7a6a3d0baf580dacc4a34f;p=chaz%2Fopenbox subtract 1 from teh workspace number specified --- 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--; }