diff options
author | mathias <mathias> | 2005-04-15 14:41:32 (GMT) |
---|---|---|
committer | mathias <mathias> | 2005-04-15 14:41:32 (GMT) |
commit | a98bd2c128a5affe82dda6b21745dad051f66f92 (patch) | |
tree | 4baa137ed52ab6efa8185d80a0a94f162e8acc35 /src/Window.cc | |
parent | 6e774e79e1e747464f61e0d756c1fd07ed9ad777 (diff) | |
download | fluxbox-a98bd2c128a5affe82dda6b21745dad051f66f92.zip fluxbox-a98bd2c128a5affe82dda6b21745dad051f66f92.tar.bz2 |
closes #1170056, Moving tab beyong last right tab causes malfunction
Diffstat (limited to 'src/Window.cc')
-rw-r--r-- | src/Window.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Window.cc b/src/Window.cc index 1914195..ea04d9c 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -939,7 +939,8 @@ void FluxboxWindow::moveClientLeft() { | |||
939 | } | 939 | } |
940 | 940 | ||
941 | void FluxboxWindow::moveClientRight() { | 941 | void FluxboxWindow::moveClientRight() { |
942 | if (m_clientlist.size() == 1) | 942 | if (m_clientlist.size() == 1 || |
943 | *m_clientlist.rbegin() == &winClient()) | ||
943 | return; | 944 | return; |
944 | // move label button to the right | 945 | // move label button to the right |
945 | frame().moveLabelButtonRight(*m_labelbuttons[&winClient()]); | 946 | frame().moveLabelButtonRight(*m_labelbuttons[&winClient()]); |