From: Dana Jansens Date: Wed, 7 Aug 2002 02:17:01 +0000 (+0000) Subject: sendTo and goto workspaces both need to start at 0, not 1 X-Git-Tag: openbox-2_0_0~75 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=e5e886bc0f865d0542d652aaa5bdd6b39396e9c3;p=dana%2Fopenbox.git sendTo and goto workspaces both need to start at 0, not 1 --- diff --git a/util/epist/actions.cc b/util/epist/actions.cc index 11871950..c4874983 100644 --- a/util/epist/actions.cc +++ b/util/epist/actions.cc @@ -52,6 +52,7 @@ Action::Action(enum ActionType type, KeyCode keycode, unsigned int modifierMask, _numberParam = atoi( str.c_str() ); - if (type == changeWorkspace) // workspace 1 to the user is workspace 0 to us + // workspace 1 to the user is workspace 0 to us + if (type == changeWorkspace || type == sendToWorkspace) _numberParam--; }