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.
This commit is contained in:
Orestis Floros 2020-04-11 10:52:35 +02:00
parent e2b2a28625
commit bb8f2927ae
No known key found for this signature in database
GPG Key ID: A09DBD7D3222C1C3
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;