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 4bf1dd5..a749684 100644 --- a/src/FbCommandFactory.cc +++ b/src/FbCommandFactory.cc | |||
@@ -51,6 +51,7 @@ FbCommandFactory::FbCommandFactory() { | |||
51 | "arrangewindows", | 51 | "arrangewindows", |
52 | "bindkey", | 52 | "bindkey", |
53 | "close", | 53 | "close", |
54 | "closeallwindows", | ||
54 | "commanddialog", | 55 | "commanddialog", |
55 | "deiconify", | 56 | "deiconify", |
56 | "detachclient", | 57 | "detachclient", |
@@ -310,6 +311,8 @@ FbTk::Command *FbCommandFactory::stringToCommand(const std::string &command, | |||
310 | return new CurrentWindowCmd(&FluxboxWindow::lowerLayer); | 311 | return new CurrentWindowCmd(&FluxboxWindow::lowerLayer); |
311 | else if (command == "close") | 312 | else if (command == "close") |
312 | return new CurrentWindowCmd(&FluxboxWindow::close); | 313 | return new CurrentWindowCmd(&FluxboxWindow::close); |
314 | else if (command == "closeallwindows") | ||
315 | return new CloseAllWindowsCmd(); | ||
313 | else if (command == "shade" || command == "shadewindow") | 316 | else if (command == "shade" || command == "shadewindow") |
314 | return new CurrentWindowCmd(&FluxboxWindow::shade); | 317 | return new CurrentWindowCmd(&FluxboxWindow::shade); |
315 | else if (command == "stick" || command == "stickwindow") | 318 | else if (command == "stick" || command == "stickwindow") |