Merge pull request #3568 from orestisf1993/floating_reposition-render_con

Fix: render_con shows floating containers on wrong workspace
This commit is contained in:
Ingo Bürk 2018-12-16 09:33:25 +01:00 committed by GitHub
commit 982ede5901
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -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;
} }

View File

@ -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);
} }
} }