X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=util%2Fepist%2Factions.cc;h=afe33e3575e1ce230f29822419448a5edabc330f;hb=4c10947be5885d977a252d6300f4cb2b5646d8ec;hp=82e61ae3fdd14854f027700c6f6c1146f3653caf;hpb=72c56d793b21cb0dae7a6a3d0baf580dacc4a34f;p=chaz%2Fopenbox 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--; }