Revert "floating_reposition: avoid extra tree_render"
This reverts commit 204eefc679
.
workspace_show does not call tree_render
This commit is contained in:
parent
bb8f2927ae
commit
755d306df3
|
@ -745,16 +745,13 @@ bool floating_reposition(Con *con, Rect newrect) {
|
|||
|
||||
con->rect = newrect;
|
||||
|
||||
bool reassigned = floating_maybe_reassign_ws(con);
|
||||
floating_maybe_reassign_ws(con);
|
||||
|
||||
/* If this is a scratchpad window, don't auto center it from now on. */
|
||||
if (con->scratchpad_state == SCRATCHPAD_FRESH)
|
||||
con->scratchpad_state = SCRATCHPAD_CHANGED;
|
||||
|
||||
/* Workspace change will already result in a tree_render. */
|
||||
if (!reassigned) {
|
||||
tree_render();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue