Bugfix: Don’t fix floating coordinates when reassigning (fixes flickering)

This fixes flickering when moving floating windows between different monitors.
This commit is contained in:
Michael Stapelberg
2011-09-14 22:58:51 +01:00
parent 67cf46fa62
commit 6b541d382b
4 changed files with 20 additions and 6 deletions

View File

@ -286,7 +286,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, true);
con_move_to_workspace(con, ws, false, true);
con_focus(con_descend_focused(con));
return true;
}