Call tree_render if floating move changes workspace

This fixes a bug where moving a floating container with
cmd_move_direction displays a "broken" state if the container crosses
workspace boundaries.
next
Orestis Floros 2020-04-11 10:52:35 +02:00 committed by Michael Stapelberg
parent 20a06462bc
commit fa9e6c2735
1 changed files with 1 additions and 1 deletions

View File

@ -1526,7 +1526,7 @@ void cmd_move_direction(I3_CMD, const char *direction_str, long move_px) {
break;
}
floating_reposition(current->con->parent, newrect);
cmd_output->needs_tree_render = floating_reposition(current->con->parent, newrect);
} else {
tree_move(current->con, direction);
cmd_output->needs_tree_render = true;