added RaiseLayer and LowerLayer

This commit is contained in:
akir 2004-08-30 21:29:42 +00:00
parent 51f26f0c47
commit a0701345ed
2 changed files with 9 additions and 1 deletions

View file

@ -1,6 +1,8 @@
(Format: Year/Month/Day)
Changes for 0.9.10:
*04/08/30:
* Added RaiseLayer and LowerLayer to the commands (Mathias)
FbCommandFactory.cc
* Close bug #1013735, #1012314, #977054 (Mathias)
Screen.cc Slit.cc FbCommands.cc
* Fix bug in menu-closing with keys (Mathias)

View file

@ -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.33 2004/08/29 09:08:29 rathnor Exp $
// $Id: FbCommandFactory.cc,v 1.34 2004/08/30 21:29:42 akir Exp $
#include "FbCommandFactory.hh"
@ -78,6 +78,7 @@ FbCommandFactory::FbCommandFactory() {
"killwindow",
"leftworkspace",
"lower",
"lowerlayer",
"macrocmd",
"maximize",
"maximizehorizontal",
@ -103,6 +104,7 @@ FbCommandFactory::FbCommandFactory() {
"prevworkspace",
"quit",
"raise",
"raiselayer",
"reconfigure",
"reloadstyle",
"resizeto",
@ -246,8 +248,12 @@ FbTk::Command *FbCommandFactory::stringToCommand(const std::string &command,
return new MoveCmd(0,atoi(arguments.c_str()));
else if (command == "raise")
return new CurrentWindowCmd(&FluxboxWindow::raise);
else if (command == "raiselayer")
return new CurrentWindowCmd(&FluxboxWindow::raiseLayer);
else if (command == "lower")
return new CurrentWindowCmd(&FluxboxWindow::lower);
else if (command == "lowerlayer")
return new CurrentWindowCmd(&FluxboxWindow::lowerLayer);
else if (command == "close")
return new CurrentWindowCmd(&FluxboxWindow::close);
else if (command == "shade" || command == "shadewindow")