summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Window.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/Window.cc b/src/Window.cc
index e29e761..d23bf44 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -2861,11 +2861,9 @@ void FluxboxWindow::stopMoving(bool interrupted) {
2861 frame().height() + 2*frame().window().borderWidth()-1); 2861 frame().height() + 2*frame().window().borderWidth()-1);
2862 if (!interrupted) { 2862 if (!interrupted) {
2863 moveResize(m_last_move_x, m_last_move_y, frame().width(), frame().height()); 2863 moveResize(m_last_move_x, m_last_move_y, frame().width(), frame().height());
2864 if (m_workspace_number != screen().currentWorkspaceID()) { 2864 if (m_workspace_number != screen().currentWorkspaceID())
2865 screen().reassociateWindow(this, screen().currentWorkspaceID(), true); 2865 screen().sendToWorkspace(screen().currentWorkspaceID(), this);
2866 frame().show(); 2866 focus();
2867 focus();
2868 }
2869 } 2867 }
2870 fluxbox->ungrab(); 2868 fluxbox->ungrab();
2871 } else if (!interrupted) { 2869 } else if (!interrupted) {