From e3edff5bc82b84bd65aa18137610ff5ff68ae658 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Tue, 14 Oct 2003 00:21:16 +0000 Subject: minor bug fix in NextWindow and PrevWindow Cmd --- src/WorkspaceCmd.cc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/WorkspaceCmd.cc b/src/WorkspaceCmd.cc index c70d8d2..80a94d4 100644 --- a/src/WorkspaceCmd.cc +++ b/src/WorkspaceCmd.cc @@ -20,7 +20,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: WorkspaceCmd.cc,v 1.5 2003/09/20 10:46:01 grubert Exp $ +// $Id: WorkspaceCmd.cc,v 1.6 2003/10/14 00:21:16 fluxgen Exp $ #include "WorkspaceCmd.hh" @@ -51,8 +51,8 @@ void NextWindowCmd::execute() { Fluxbox::instance()->watchKeyRelease(*screen, mods); screen->nextFocus(m_option); } - } - + } else + screen->nextFocus(m_option); } } @@ -72,7 +72,8 @@ void PrevWindowCmd::execute() { Fluxbox::instance()->watchKeyRelease(*screen, mods); screen->prevFocus(m_option); } - } + } else + screen->nextFocus(m_option); } } -- cgit v0.11.2