minor bug fix in NextWindow and PrevWindow Cmd

This commit is contained in:
fluxgen 2003-10-14 00:21:16 +00:00
parent 7293dd64f6
commit e3edff5bc8

View file

@ -20,7 +20,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // 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" #include "WorkspaceCmd.hh"
@ -51,8 +51,8 @@ void NextWindowCmd::execute() {
Fluxbox::instance()->watchKeyRelease(*screen, mods); Fluxbox::instance()->watchKeyRelease(*screen, mods);
screen->nextFocus(m_option); screen->nextFocus(m_option);
} }
} } else
screen->nextFocus(m_option);
} }
} }
@ -72,7 +72,8 @@ void PrevWindowCmd::execute() {
Fluxbox::instance()->watchKeyRelease(*screen, mods); Fluxbox::instance()->watchKeyRelease(*screen, mods);
screen->prevFocus(m_option); screen->prevFocus(m_option);
} }
} } else
screen->nextFocus(m_option);
} }
} }