aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathias <mathias>2005-04-15 14:41:32 (GMT)
committermathias <mathias>2005-04-15 14:41:32 (GMT)
commita98bd2c128a5affe82dda6b21745dad051f66f92 (patch)
tree4baa137ed52ab6efa8185d80a0a94f162e8acc35
parent6e774e79e1e747464f61e0d756c1fd07ed9ad777 (diff)
downloadfluxbox-a98bd2c128a5affe82dda6b21745dad051f66f92.zip
fluxbox-a98bd2c128a5affe82dda6b21745dad051f66f92.tar.bz2
closes #1170056, Moving tab beyong last right tab causes malfunction
-rw-r--r--src/Window.cc3
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
941void FluxboxWindow::moveClientRight() { 941void 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()]);