all repos — fluxbox @ e5fd401f4eadef1aa4ab91b11d38653d1a4b7194

custom fork of the fluxbox windowmanager

focus window when done dragging to a new workspace with outline moving
Mark Tiefenbruck mark@fluxbox.org
commit

e5fd401f4eadef1aa4ab91b11d38653d1a4b7194

parent

93924af160ea303c94a2576b0e57a04e94c9228c

1 files changed, 3 insertions(+), 5 deletions(-)

jump to
M src/Window.ccsrc/Window.cc

@@ -2861,11 +2861,9 @@ frame().width() + 2*frame().window().borderWidth()-1,

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) {