diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-10-12 16:54:35 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-10-12 16:54:35 (GMT) |
commit | e5fd401f4eadef1aa4ab91b11d38653d1a4b7194 (patch) | |
tree | e48cebdad8de9643b24e0d9e68aaa584e6145a7e | |
parent | 93924af160ea303c94a2576b0e57a04e94c9228c (diff) | |
download | fluxbox_lack-e5fd401f4eadef1aa4ab91b11d38653d1a4b7194.zip fluxbox_lack-e5fd401f4eadef1aa4ab91b11d38653d1a4b7194.tar.bz2 |
focus window when done dragging to a new workspace with outline moving
-rw-r--r-- | src/Window.cc | 8 |
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) { |