From: Dana Jansens Date: Wed, 7 Aug 2002 01:30:19 +0000 (+0000) Subject: subtract 1 from teh workspace number specified X-Git-Tag: openbox-2_0_0~81 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=4c10947be5885d977a252d6300f4cb2b5646d8ec;p=dana%2Fopenbox.git 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--; }