diff options
author | fluxgen <fluxgen> | 2006-02-18 11:40:02 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2006-02-18 11:40:02 (GMT) |
commit | 330c8c0b09f10effa9a80245a99dde691a9bc501 (patch) | |
tree | ddbcd243613bd4cfb365b5acaeb173c829b1b4b5 | |
parent | 4d52797b955b8e38b9e49802981e69fb34a734bc (diff) | |
download | fluxbox-330c8c0b09f10effa9a80245a99dde691a9bc501.zip fluxbox-330c8c0b09f10effa9a80245a99dde691a9bc501.tar.bz2 |
moved all focus handling to class FocusControl
-rw-r--r-- | src/FbCommandFactory.cc | 12 |
1 files 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, | |||
374 | else if (command == "prevwindow") | 374 | else if (command == "prevwindow") |
375 | return new PrevWindowCmd(atoi(arguments.c_str())); | 375 | return new PrevWindowCmd(atoi(arguments.c_str())); |
376 | else if (command == "focusup") | 376 | else if (command == "focusup") |
377 | return new DirFocusCmd(BScreen::FOCUSUP); | 377 | return new DirFocusCmd(FocusControl::FOCUSUP); |
378 | else if (command == "focusdown") | 378 | else if (command == "focusdown") |
379 | return new DirFocusCmd(BScreen::FOCUSDOWN); | 379 | return new DirFocusCmd(FocusControl::FOCUSDOWN); |
380 | else if (command == "focusleft") | 380 | else if (command == "focusleft") |
381 | return new DirFocusCmd(BScreen::FOCUSLEFT); | 381 | return new DirFocusCmd(FocusControl::FOCUSLEFT); |
382 | else if (command == "focusright") | 382 | else if (command == "focusright") |
383 | return new DirFocusCmd(BScreen::FOCUSRIGHT); | 383 | return new DirFocusCmd(FocusControl::FOCUSRIGHT); |
384 | else if (command == "nextgroup") | 384 | else if (command == "nextgroup") |
385 | return new NextWindowCmd(atoi(arguments.c_str()) ^ BScreen::CYCLEGROUPS); | 385 | return new NextWindowCmd(atoi(arguments.c_str()) ^ FocusControl::CYCLEGROUPS); |
386 | else if (command == "prevgroup") | 386 | else if (command == "prevgroup") |
387 | return new PrevWindowCmd(atoi(arguments.c_str()) ^ BScreen::CYCLEGROUPS); | 387 | return new PrevWindowCmd(atoi(arguments.c_str()) ^ FocusControl::CYCLEGROUPS); |
388 | else if (command == "arrangewindows") | 388 | else if (command == "arrangewindows") |
389 | return new ArrangeWindowsCmd(); | 389 | return new ArrangeWindowsCmd(); |
390 | else if (command == "showdesktop") | 390 | else if (command == "showdesktop") |