]> Dogcows Code - chaz/openbox/commitdiff
subtract 1 from teh workspace number specified
authorDana Jansens <danakj@orodu.net>
Wed, 7 Aug 2002 01:30:19 +0000 (01:30 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 7 Aug 2002 01:30:19 +0000 (01:30 +0000)
util/epist/actions.cc

index 82e61ae3fdd14854f027700c6f6c1146f3653caf..afe33e3575e1ce230f29822419448a5edabc330f 100644 (file)
@@ -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--;
 }
This page took 0.02398 seconds and 4 git commands to generate.