aboutsummaryrefslogtreecommitdiff
path: root/src/WorkspaceCmd.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-10-14 00:21:16 (GMT)
committerfluxgen <fluxgen>2003-10-14 00:21:16 (GMT)
commite3edff5bc82b84bd65aa18137610ff5ff68ae658 (patch)
tree0130e01c8cb0abab4d694d922f84de4355d50e25 /src/WorkspaceCmd.cc
parent7293dd64f67e8371796add46cecfb0d8ab111757 (diff)
downloadfluxbox-e3edff5bc82b84bd65aa18137610ff5ff68ae658.zip
fluxbox-e3edff5bc82b84bd65aa18137610ff5ff68ae658.tar.bz2
minor bug fix in NextWindow and PrevWindow Cmd
Diffstat (limited to 'src/WorkspaceCmd.cc')
-rw-r--r--src/WorkspaceCmd.cc9
1 files 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 @@
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21// DEALINGS IN THE SOFTWARE. 21// DEALINGS IN THE SOFTWARE.
22 22
23// $Id: WorkspaceCmd.cc,v 1.5 2003/09/20 10:46:01 grubert Exp $ 23// $Id: WorkspaceCmd.cc,v 1.6 2003/10/14 00:21:16 fluxgen Exp $
24 24
25#include "WorkspaceCmd.hh" 25#include "WorkspaceCmd.hh"
26 26
@@ -51,8 +51,8 @@ void NextWindowCmd::execute() {
51 Fluxbox::instance()->watchKeyRelease(*screen, mods); 51 Fluxbox::instance()->watchKeyRelease(*screen, mods);
52 screen->nextFocus(m_option); 52 screen->nextFocus(m_option);
53 } 53 }
54 } 54 } else
55 55 screen->nextFocus(m_option);
56 } 56 }
57} 57}
58 58
@@ -72,7 +72,8 @@ void PrevWindowCmd::execute() {
72 Fluxbox::instance()->watchKeyRelease(*screen, mods); 72 Fluxbox::instance()->watchKeyRelease(*screen, mods);
73 screen->prevFocus(m_option); 73 screen->prevFocus(m_option);
74 } 74 }
75 } 75 } else
76 screen->nextFocus(m_option);
76 } 77 }
77} 78}
78 79