diff options
author | fluxgen <fluxgen> | 2003-12-20 17:42:04 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-12-20 17:42:04 (GMT) |
commit | 5a91d8747e4ab0bb25b85c82e49f6f74d8e14e05 (patch) | |
tree | 1f03ec76a386ccced9fab202c5eab0f738c98303 /src/FbCommandFactory.cc | |
parent | d86f0e36bb6c09e2b3e097f26a6f2ddf0e751e55 (diff) | |
download | fluxbox-5a91d8747e4ab0bb25b85c82e49f6f74d8e14e05.zip fluxbox-5a91d8747e4ab0bb25b85c82e49f6f74d8e14e05.tar.bz2 |
bindkey command
Diffstat (limited to 'src/FbCommandFactory.cc')
-rw-r--r-- | src/FbCommandFactory.cc | 5 |
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> |