aboutsummaryrefslogtreecommitdiff
path: root/src/FbCommandFactory.cc
diff options
context:
space:
mode:
authorakir <akir>2004-08-30 21:29:42 (GMT)
committerakir <akir>2004-08-30 21:29:42 (GMT)
commita0701345ed53dbca8d962775a5058eb4f28f624b (patch)
tree869755432e7e77666f6c2c9167cd302a4d87dfd3 /src/FbCommandFactory.cc
parent51f26f0c4750235e2b9399254272fafee341c951 (diff)
downloadfluxbox-a0701345ed53dbca8d962775a5058eb4f28f624b.zip
fluxbox-a0701345ed53dbca8d962775a5058eb4f28f624b.tar.bz2
added RaiseLayer and LowerLayer
Diffstat (limited to 'src/FbCommandFactory.cc')
-rw-r--r--src/FbCommandFactory.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/FbCommandFactory.cc b/src/FbCommandFactory.cc
index 7a2691f..d0a2a45 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.33 2004/08/29 09:08:29 rathnor Exp $ 23// $Id: FbCommandFactory.cc,v 1.34 2004/08/30 21:29:42 akir Exp $
24 24
25#include "FbCommandFactory.hh" 25#include "FbCommandFactory.hh"
26 26
@@ -78,6 +78,7 @@ FbCommandFactory::FbCommandFactory() {
78 "killwindow", 78 "killwindow",
79 "leftworkspace", 79 "leftworkspace",
80 "lower", 80 "lower",
81 "lowerlayer",
81 "macrocmd", 82 "macrocmd",
82 "maximize", 83 "maximize",
83 "maximizehorizontal", 84 "maximizehorizontal",
@@ -103,6 +104,7 @@ FbCommandFactory::FbCommandFactory() {
103 "prevworkspace", 104 "prevworkspace",
104 "quit", 105 "quit",
105 "raise", 106 "raise",
107 "raiselayer",
106 "reconfigure", 108 "reconfigure",
107 "reloadstyle", 109 "reloadstyle",
108 "resizeto", 110 "resizeto",
@@ -246,8 +248,12 @@ FbTk::Command *FbCommandFactory::stringToCommand(const std::string &command,
246 return new MoveCmd(0,atoi(arguments.c_str())); 248 return new MoveCmd(0,atoi(arguments.c_str()));
247 else if (command == "raise") 249 else if (command == "raise")
248 return new CurrentWindowCmd(&FluxboxWindow::raise); 250 return new CurrentWindowCmd(&FluxboxWindow::raise);
251 else if (command == "raiselayer")
252 return new CurrentWindowCmd(&FluxboxWindow::raiseLayer);
249 else if (command == "lower") 253 else if (command == "lower")
250 return new CurrentWindowCmd(&FluxboxWindow::lower); 254 return new CurrentWindowCmd(&FluxboxWindow::lower);
255 else if (command == "lowerlayer")
256 return new CurrentWindowCmd(&FluxboxWindow::lowerLayer);
251 else if (command == "close") 257 else if (command == "close")
252 return new CurrentWindowCmd(&FluxboxWindow::close); 258 return new CurrentWindowCmd(&FluxboxWindow::close);
253 else if (command == "shade" || command == "shadewindow") 259 else if (command == "shade" || command == "shadewindow")