closes #1170056, Moving tab beyong last right tab causes malfunction

This commit is contained in:
mathias 2005-04-15 14:41:32 +00:00
parent 6e774e79e1
commit a98bd2c128

View file

@ -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()]);