aboutsummaryrefslogtreecommitdiff
path: root/src/FbCommandFactory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbCommandFactory.cc')
-rw-r--r--src/FbCommandFactory.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/FbCommandFactory.cc b/src/FbCommandFactory.cc
index f1637b9..aa091bb 100644
--- a/src/FbCommandFactory.cc
+++ b/src/FbCommandFactory.cc
@@ -350,10 +350,10 @@ FbTk::Command *FbCommandFactory::stringToCommand(const std::string &command,
350 // 350 //
351 // Workspace commands 351 // Workspace commands
352 // 352 //
353 else if (command == "nextworkspace" && arguments.empty()) 353 else if (command == "nextworkspace")
354 return new NextWorkspaceCmd(); 354 return new NextWorkspaceCmd(atoi(arguments.c_str()));
355 else if (command == "prevworkspace" && arguments.empty()) 355 else if (command == "prevworkspace")
356 return new PrevWorkspaceCmd(); 356 return new PrevWorkspaceCmd(atoi(arguments.c_str()));
357 else if (command == "rightworkspace") 357 else if (command == "rightworkspace")
358 return new RightWorkspaceCmd(atoi(arguments.c_str())); 358 return new RightWorkspaceCmd(atoi(arguments.c_str()));
359 else if (command == "leftworkspace") 359 else if (command == "leftworkspace")