From 330c8c0b09f10effa9a80245a99dde691a9bc501 Mon Sep 17 00:00:00 2001
From: fluxgen <fluxgen>
Date: Sat, 18 Feb 2006 11:40:02 +0000
Subject: moved all focus handling to class FocusControl

---
 src/FbCommandFactory.cc | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/FbCommandFactory.cc b/src/FbCommandFactory.cc
index 15ec9f3..f1637b9 100644
--- a/src/FbCommandFactory.cc
+++ b/src/FbCommandFactory.cc
@@ -374,17 +374,17 @@ FbTk::Command *FbCommandFactory::stringToCommand(const std::string &command,
     else if (command == "prevwindow")
         return new PrevWindowCmd(atoi(arguments.c_str()));
     else if (command == "focusup")
-        return new DirFocusCmd(BScreen::FOCUSUP);
+        return new DirFocusCmd(FocusControl::FOCUSUP);
     else if (command == "focusdown")
-        return new DirFocusCmd(BScreen::FOCUSDOWN);
+        return new DirFocusCmd(FocusControl::FOCUSDOWN);
     else if (command == "focusleft")
-        return new DirFocusCmd(BScreen::FOCUSLEFT);
+        return new DirFocusCmd(FocusControl::FOCUSLEFT);
     else if (command == "focusright")
-        return new DirFocusCmd(BScreen::FOCUSRIGHT);
+        return new DirFocusCmd(FocusControl::FOCUSRIGHT);
     else if (command == "nextgroup")
-        return new NextWindowCmd(atoi(arguments.c_str()) ^ BScreen::CYCLEGROUPS);
+        return new NextWindowCmd(atoi(arguments.c_str()) ^ FocusControl::CYCLEGROUPS);
     else if (command == "prevgroup")
-        return new PrevWindowCmd(atoi(arguments.c_str()) ^ BScreen::CYCLEGROUPS);
+        return new PrevWindowCmd(atoi(arguments.c_str()) ^ FocusControl::CYCLEGROUPS);
     else if (command == "arrangewindows")
         return new ArrangeWindowsCmd();
     else if (command == "showdesktop")
-- 
cgit v0.11.2