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:
parent
20a06462bc
commit
fa9e6c2735
|
@ -1526,7 +1526,7 @@ void cmd_move_direction(I3_CMD, const char *direction_str, long move_px) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
floating_reposition(current->con->parent, newrect);
|
cmd_output->needs_tree_render = floating_reposition(current->con->parent, newrect);
|
||||||
} else {
|
} else {
|
||||||
tree_move(current->con, direction);
|
tree_move(current->con, direction);
|
||||||
cmd_output->needs_tree_render = true;
|
cmd_output->needs_tree_render = true;
|
||||||
|
|
Loading…
Reference in New Issue