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, 7 insertions, 1 deletions
diff --git a/src/FbCommandFactory.cc b/src/FbCommandFactory.cc
index 9e4ec8f..a275446 100644
--- a/src/FbCommandFactory.cc
+++ b/src/FbCommandFactory.cc
@@ -20,7 +20,7 @@
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21// DEALINGS IN THE SOFTWARE. 21// DEALINGS IN THE SOFTWARE.
22 22
23// $Id: FbCommandFactory.cc,v 1.26 2004/01/21 14:11:42 fluxgen Exp $ 23// $Id: FbCommandFactory.cc,v 1.27 2004/02/20 19:40:31 fluxgen Exp $
24 24
25#include "FbCommandFactory.hh" 25#include "FbCommandFactory.hh"
26 26
@@ -108,6 +108,8 @@ FbCommandFactory::FbCommandFactory() {
108 "rootmenu", 108 "rootmenu",
109 "saverc", 109 "saverc",
110 "sendtoworkspace", 110 "sendtoworkspace",
111 "sendtonextworkspace",
112 "sendtoprevworkspace",
111 "setstyle", 113 "setstyle",
112 "setworkspacename", 114 "setworkspacename",
113 "setworkspacenamedialog", 115 "setworkspacenamedialog",
@@ -235,6 +237,10 @@ FbTk::Command *FbCommandFactory::stringToCommand(const std::string &command,
235 return new CurrentWindowCmd(&FluxboxWindow::toggleDecoration); 237 return new CurrentWindowCmd(&FluxboxWindow::toggleDecoration);
236 else if (command == "sendtoworkspace") 238 else if (command == "sendtoworkspace")
237 return new SendToWorkspaceCmd(atoi(arguments.c_str()) - 1); // make 1-indexed to user 239 return new SendToWorkspaceCmd(atoi(arguments.c_str()) - 1); // make 1-indexed to user
240 else if (command == "sendtonextworkspace")
241 return new SendToNextWorkspaceCmd(atoi(arguments.c_str()));
242 else if (command == "sendtoprevworkspace")
243 return new SendToPrevWorkspaceCmd(atoi(arguments.c_str()));
238 else if (command == "killwindow") 244 else if (command == "killwindow")
239 return new KillWindowCmd(); 245 return new KillWindowCmd();
240 else if (command == "nexttab") 246 else if (command == "nexttab")