summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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()]);