diff options
Diffstat (limited to 'src/FbCommandFactory.cc')
-rw-r--r-- | src/FbCommandFactory.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/FbCommandFactory.cc b/src/FbCommandFactory.cc index a70e09b..d3e3757 100644 --- a/src/FbCommandFactory.cc +++ b/src/FbCommandFactory.cc | |||
@@ -118,6 +118,7 @@ FbCommandFactory::FbCommandFactory() { | |||
118 | "rootmenu", | 118 | "rootmenu", |
119 | "saverc", | 119 | "saverc", |
120 | "setenv", | 120 | "setenv", |
121 | "sethead", | ||
121 | "sendtoworkspace", | 122 | "sendtoworkspace", |
122 | "sendtonextworkspace", | 123 | "sendtonextworkspace", |
123 | "sendtoprevworkspace", | 124 | "sendtoprevworkspace", |
@@ -279,6 +280,8 @@ FbTk::Command *FbCommandFactory::stringToCommand(const std::string &command, | |||
279 | return new CurrentWindowCmd(&FluxboxWindow::stick); | 280 | return new CurrentWindowCmd(&FluxboxWindow::stick); |
280 | else if (command == "toggledecor") | 281 | else if (command == "toggledecor") |
281 | return new CurrentWindowCmd(&FluxboxWindow::toggleDecoration); | 282 | return new CurrentWindowCmd(&FluxboxWindow::toggleDecoration); |
283 | else if (command == "sethead") | ||
284 | return new SetHeadCmd(atoi(arguments.c_str())); | ||
282 | else if (command == "sendtoworkspace") | 285 | else if (command == "sendtoworkspace") |
283 | return new SendToWorkspaceCmd(atoi(arguments.c_str()) - 1); // make 1-indexed to user | 286 | return new SendToWorkspaceCmd(atoi(arguments.c_str()) - 1); // make 1-indexed to user |
284 | else if (command == "sendtonextworkspace") | 287 | else if (command == "sendtonextworkspace") |