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. */
|
/* Workspace change will already result in a tree_render. */
|
||||||
if (!reassigned) {
|
if (!reassigned) {
|
||||||
render_con(con);
|
tree_render();
|
||||||
x_push_node(con);
|
|
||||||
}
|
}
|
||||||
return true;
|
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);
|
Con *floating = con_inside_floating(con);
|
||||||
if (floating) {
|
if (floating) {
|
||||||
floating_check_size(con, false);
|
floating_check_size(con, false);
|
||||||
render_con(con);
|
tree_render();
|
||||||
x_push_changes(croot);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue