diff options
author | fluxgen <fluxgen> | 2003-06-30 19:51:07 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-06-30 19:51:07 (GMT) |
commit | 5fe9fc2b045682f4f6a5996ad57e368c887238b9 (patch) | |
tree | fd2fd747e5c324424953c0a6da244cbf2e35511c /src | |
parent | 6a56ce28299282c4e8000e68a1662dc5ec9fa400 (diff) | |
download | fluxbox_paul-5fe9fc2b045682f4f6a5996ad57e368c887238b9.zip fluxbox_paul-5fe9fc2b045682f4f6a5996ad57e368c887238b9.tar.bz2 |
added toggledecor
Diffstat (limited to 'src')
-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 9c4e172..b9e1308 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.1 2003/06/30 14:49:23 fluxgen Exp $ | 23 | // $Id: FbCommandFactory.cc,v 1.2 2003/06/30 19:51:07 fluxgen Exp $ |
24 | 24 | ||
25 | #include "FbCommandFactory.hh" | 25 | #include "FbCommandFactory.hh" |
26 | 26 | ||
@@ -59,6 +59,7 @@ FbCommandFactory::FbCommandFactory() { | |||
59 | "close", | 59 | "close", |
60 | "shade", | 60 | "shade", |
61 | "stick", | 61 | "stick", |
62 | "toggledecor", | ||
62 | "sendtoworkspace", | 63 | "sendtoworkspace", |
63 | "killwindow", | 64 | "killwindow", |
64 | "nexttab", | 65 | "nexttab", |
@@ -128,6 +129,8 @@ FbTk::Command *FbCommandFactory::stringToCommand(const std::string &command, | |||
128 | return new CurrentWindowCmd(&FluxboxWindow::shade); | 129 | return new CurrentWindowCmd(&FluxboxWindow::shade); |
129 | else if (command == "stick" || command == "stickwindow") | 130 | else if (command == "stick" || command == "stickwindow") |
130 | return new CurrentWindowCmd(&FluxboxWindow::stick); | 131 | return new CurrentWindowCmd(&FluxboxWindow::stick); |
132 | else if (command == "toggledecor") | ||
133 | return new CurrentWindowCmd(&FluxboxWindow::toggleDecoration); | ||
131 | else if (command == "sendtoworkspace") | 134 | else if (command == "sendtoworkspace") |
132 | return new SendToWorkspaceCmd(atoi(arguments.c_str())); | 135 | return new SendToWorkspaceCmd(atoi(arguments.c_str())); |
133 | else if (command == "killwindow") | 136 | else if (command == "killwindow") |