Merge pull request #3568 from orestisf1993/floating_reposition-render_con
Fix: render_con shows floating containers on wrong workspace
This commit is contained in:
commit
982ede5901
|
@ -955,8 +955,7 @@ bool floating_reposition(Con *con, Rect newrect) {
|
|||
|
||||
/* Workspace change will already result in a tree_render. */
|
||||
if (!reassigned) {
|
||||
render_con(con);
|
||||
x_push_node(con);
|
||||
tree_render();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -981,8 +981,7 @@ static bool handle_normal_hints(void *data, xcb_connection_t *conn, uint8_t stat
|
|||
Con *floating = con_inside_floating(con);
|
||||
if (floating) {
|
||||
floating_check_size(con, false);
|
||||
render_con(con);
|
||||
x_push_changes(croot);
|
||||
tree_render();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue