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 82e61ae..afe33e3 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--;
 }