diff options
author | mathias <mathias> | 2005-03-23 20:36:12 (GMT) |
---|---|---|
committer | mathias <mathias> | 2005-03-23 20:36:12 (GMT) |
commit | 12dff3d3a9cc6ed88493f39b07c9bcc1132f95e7 (patch) | |
tree | 9272cfe698c912ff98d094e7d13f6765c57f42ac /src/FbCommandFactory.cc | |
parent | 1a6d067013259bb8e7bee0fe4d9e8bff48200cb7 (diff) | |
download | fluxbox-12dff3d3a9cc6ed88493f39b07c9bcc1132f95e7.zip fluxbox-12dff3d3a9cc6ed88493f39b07c9bcc1132f95e7.tar.bz2 |
added "Fullscreen" - command, removes borders and maximizes to
the full screen ... hence the name :)
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 86f9eff..8279edb 100644 --- a/src/FbCommandFactory.cc +++ b/src/FbCommandFactory.cc | |||
@@ -63,6 +63,7 @@ FbCommandFactory::FbCommandFactory() { | |||
63 | "focusdown", | 63 | "focusdown", |
64 | "focusleft", | 64 | "focusleft", |
65 | "focusright", | 65 | "focusright", |
66 | "fullscreen", | ||
66 | "iconify", | 67 | "iconify", |
67 | "killwindow", | 68 | "killwindow", |
68 | "leftworkspace", | 69 | "leftworkspace", |
@@ -208,6 +209,8 @@ FbTk::Command *FbCommandFactory::stringToCommand(const std::string &command, | |||
208 | // | 209 | // |
209 | // Current focused window commands | 210 | // Current focused window commands |
210 | // | 211 | // |
212 | else if (command == "fullscreen") | ||
213 | return new FullscreenCmd(); | ||
211 | else if (command == "minimizewindow" || command == "minimize" || command == "iconify") | 214 | else if (command == "minimizewindow" || command == "minimize" || command == "iconify") |
212 | return new CurrentWindowCmd(&FluxboxWindow::iconify); | 215 | return new CurrentWindowCmd(&FluxboxWindow::iconify); |
213 | else if (command == "maximizewindow" || command == "maximize") | 216 | else if (command == "maximizewindow" || command == "maximize") |