From a98bd2c128a5affe82dda6b21745dad051f66f92 Mon Sep 17 00:00:00 2001 From: mathias Date: Fri, 15 Apr 2005 14:41:32 +0000 Subject: closes #1170056, Moving tab beyong last right tab causes malfunction --- src/Window.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() { } void FluxboxWindow::moveClientRight() { - if (m_clientlist.size() == 1) + if (m_clientlist.size() == 1 || + *m_clientlist.rbegin() == &winClient()) return; // move label button to the right frame().moveLabelButtonRight(*m_labelbuttons[&winClient()]); -- cgit v0.11.2