focus window when done dragging to a new workspace with outline moving
This commit is contained in:
parent
93924af160
commit
e5fd401f4e
1 changed files with 3 additions and 5 deletions
|
@ -2861,11 +2861,9 @@ void FluxboxWindow::stopMoving(bool interrupted) {
|
|||
frame().height() + 2*frame().window().borderWidth()-1);
|
||||
if (!interrupted) {
|
||||
moveResize(m_last_move_x, m_last_move_y, frame().width(), frame().height());
|
||||
if (m_workspace_number != screen().currentWorkspaceID()) {
|
||||
screen().reassociateWindow(this, screen().currentWorkspaceID(), true);
|
||||
frame().show();
|
||||
focus();
|
||||
}
|
||||
if (m_workspace_number != screen().currentWorkspaceID())
|
||||
screen().sendToWorkspace(screen().currentWorkspaceID(), this);
|
||||
focus();
|
||||
}
|
||||
fluxbox->ungrab();
|
||||
} else if (!interrupted) {
|
||||
|
|
Loading…
Reference in a new issue