Bugfix: Correctly warp floating windows when using the 'move' command

This commit is contained in:
Michael Stapelberg
2011-08-24 22:59:46 +02:00
parent cd2d7ef484
commit 698d97cd02
4 changed files with 15 additions and 7 deletions

View File

@ -282,7 +282,7 @@ bool floating_maybe_reassign_ws(Con *con) {
Con *content = output_get_content(output->con);
Con *ws = TAILQ_FIRST(&(content->focus_head));
DLOG("Moving con %p / %s to workspace %p / %s\n", con, con->name, ws, ws->name);
con_move_to_workspace(con, ws);
con_move_to_workspace(con, ws, true);
con_focus(con_descend_focused(con));
return true;
}