aboutsummaryrefslogtreecommitdiff
path: root/src/FbCommandFactory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbCommandFactory.cc')
-rw-r--r--src/FbCommandFactory.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/FbCommandFactory.cc b/src/FbCommandFactory.cc
index 91348fa..d3ea8ce 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.23 2003/12/19 18:17:08 fluxgen Exp $ 23// $Id: FbCommandFactory.cc,v 1.24 2003/12/20 17:42:04 fluxgen Exp $
24 24
25#include "FbCommandFactory.hh" 25#include "FbCommandFactory.hh"
26 26
@@ -61,6 +61,7 @@ FbCommandFactory::FbCommandFactory() {
61 // setup commands that we can handle 61 // setup commands that we can handle
62 const char* commands[] = { 62 const char* commands[] = {
63 "arrangewindows", 63 "arrangewindows",
64 "bindkey",
64 "close", 65 "close",
65 "commanddialog", 66 "commanddialog",
66 "detachclient", 67 "detachclient",
@@ -153,6 +154,8 @@ FbTk::Command *FbCommandFactory::stringToCommand(const std::string &command,
153 return new FbTk::SimpleCommand<Fluxbox>(*Fluxbox::instance(), &Fluxbox::shutdown); 154 return new FbTk::SimpleCommand<Fluxbox>(*Fluxbox::instance(), &Fluxbox::shutdown);
154 else if (command == "commanddialog") // run specified fluxbox command 155 else if (command == "commanddialog") // run specified fluxbox command
155 return new CommandDialogCmd(); 156 return new CommandDialogCmd();
157 else if (command == "bindkey")
158 return new BindKeyCmd(arguments);
156 else if (command == "setresourcevalue") { 159 else if (command == "setresourcevalue") {
157 // we need to parse arguments as: 160 // we need to parse arguments as:
158 // <remove whitespace here><resname><one whitespace><value> 161 // <remove whitespace here><resname><one whitespace><value>