aboutsummaryrefslogtreecommitdiff
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
parent51f26f0c4750235e2b9399254272fafee341c951 (diff)
downloadfluxbox_pavel-a0701345ed53dbca8d962775a5058eb4f28f624b.zip
fluxbox_pavel-a0701345ed53dbca8d962775a5058eb4f28f624b.tar.bz2
added RaiseLayer and LowerLayer
-rw-r--r--ChangeLog2
-rw-r--r--src/FbCommandFactory.cc8
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 954dcba..6d5a005 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
1(Format: Year/Month/Day) 1(Format: Year/Month/Day)
2Changes for 0.9.10: 2Changes for 0.9.10:
3*04/08/30: 3*04/08/30:
4 * Added RaiseLayer and LowerLayer to the commands (Mathias)
5 FbCommandFactory.cc
4 * Close bug #1013735, #1012314, #977054 (Mathias) 6 * Close bug #1013735, #1012314, #977054 (Mathias)
5 Screen.cc Slit.cc FbCommands.cc 7 Screen.cc Slit.cc FbCommands.cc
6 * Fix bug in menu-closing with keys (Mathias) 8 * Fix bug in menu-closing with keys (Mathias)
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")