]> Dogcows Code - chaz/openbox/blobdiff - util/epist/actions.cc
sendTo and goto workspaces both need to start at 0, not 1
[chaz/openbox] / util / epist / actions.cc
index 118719508b85174570a0900f160ef13b312364bd..c4874983e51e50119d34a59bceca74ac385c1c88 100644 (file)
@@ -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--;
 }
This page took 0.019429 seconds and 4 git commands to generate.