From 7c76910844e8b6f13fe4b8eda1a37cb636e0e8c4 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Mon, 28 Jul 2003 12:05:27 +0000 Subject: added movetableft and movetabright commands --- src/FbCommandFactory.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/FbCommandFactory.cc b/src/FbCommandFactory.cc index 2194bd6..237442a 100644 --- a/src/FbCommandFactory.cc +++ b/src/FbCommandFactory.cc @@ -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.10 2003/07/26 13:44:00 rathnor Exp $ +// $Id: FbCommandFactory.cc,v 1.11 2003/07/28 12:05:27 fluxgen Exp $ #include "FbCommandFactory.hh" @@ -70,6 +70,8 @@ FbCommandFactory::FbCommandFactory() { "killwindow", "nexttab", "prevtab", + "movetableft", + "movetabright", "detachclient", "nextworkspace", "rightworkspace", @@ -151,6 +153,10 @@ FbTk::Command *FbCommandFactory::stringToCommand(const std::string &command, return new CurrentWindowCmd(&FluxboxWindow::nextClient); else if (command == "prevtab") return new CurrentWindowCmd(&FluxboxWindow::prevClient); + else if (command == "movetableft") + return new CurrentWindowCmd(&FluxboxWindow::moveClientLeft); + else if (command == "movetabright") + return new CurrentWindowCmd(&FluxboxWindow::moveClientRight); else if (command == "detachclient") return new CurrentWindowCmd(&FluxboxWindow::detachCurrentClient); // -- cgit v0.11.2