]> Dogcows Code - chaz/openbox/commitdiff
sendTo and goto workspaces both need to start at 0, not 1
authorDana Jansens <danakj@orodu.net>
Wed, 7 Aug 2002 02:17:01 +0000 (02:17 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 7 Aug 2002 02:17:01 +0000 (02:17 +0000)
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.025639 seconds and 4 git commands to generate.