From 5fe9fc2b045682f4f6a5996ad57e368c887238b9 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Mon, 30 Jun 2003 19:51:07 +0000 Subject: added toggledecor --- src/FbCommandFactory.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/FbCommandFactory.cc b/src/FbCommandFactory.cc index 9c4e172..b9e1308 100644 --- a/src/FbCommandFactory.cc +++ b/src/FbCommandFactory.cc @@ -20,7 +20,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: FbCommandFactory.cc,v 1.1 2003/06/30 14:49:23 fluxgen Exp $ +// $Id: FbCommandFactory.cc,v 1.2 2003/06/30 19:51:07 fluxgen Exp $ #include "FbCommandFactory.hh" @@ -59,6 +59,7 @@ FbCommandFactory::FbCommandFactory() { "close", "shade", "stick", + "toggledecor", "sendtoworkspace", "killwindow", "nexttab", @@ -128,6 +129,8 @@ FbTk::Command *FbCommandFactory::stringToCommand(const std::string &command, return new CurrentWindowCmd(&FluxboxWindow::shade); else if (command == "stick" || command == "stickwindow") return new CurrentWindowCmd(&FluxboxWindow::stick); + else if (command == "toggledecor") + return new CurrentWindowCmd(&FluxboxWindow::toggleDecoration); else if (command == "sendtoworkspace") return new SendToWorkspaceCmd(atoi(arguments.c_str())); else if (command == "killwindow") -- cgit v0.11.2