From e5e886bc0f865d0542d652aaa5bdd6b39396e9c3 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 7 Aug 2002 02:17:01 +0000 Subject: [PATCH] sendTo and goto workspaces both need to start at 0, not 1 --- util/epist/actions.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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--; } -- 2.34.1