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