aboutsummaryrefslogtreecommitdiff
path: root/src/FbCommandFactory.cc
diff options
context:
space:
mode:
authormathias <mathias>2006-03-09 19:38:18 (GMT)
committermathias <mathias>2006-03-09 19:38:18 (GMT)
commit70bd45e8e1c4b91676f80099aa87d11eeb3bf7d1 (patch)
tree50159f22f55eade81e9dc93b0159bff39d8fd0f7 /src/FbCommandFactory.cc
parent918d1994fab393e88f422cf0e66875d2d77f7531 (diff)
downloadfluxbox_pavel-70bd45e8e1c4b91676f80099aa87d11eeb3bf7d1.zip
fluxbox_pavel-70bd45e8e1c4b91676f80099aa87d11eeb3bf7d1.tar.bz2
enhanced :NextWindow / :PrevWindow to accept <delta> as parameter, patch from marcus obst
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")