con->rect.x = dest_x;
con->rect.y = dest_y;
- /* TODO: don’t re-render the whole tree just because we change
- * coordinates of a floating window */
- tree_render();
+ render_con(con);
x_push_changes(croot);
}
XCB_CURRENT_TIME,
XCB_GRAB_MODE_ASYNC, /* continue processing pointer events as normal */
XCB_GRAB_MODE_ASYNC /* keyboard mode */
- );
+ );
if ((keyb_reply = xcb_grab_keyboard_reply(conn, keyb_cookie, &error)) == NULL) {
ELOG("Could not grab keyboard (error_code = %d)\n", error->error_code);
/* Workspace change will already result in a tree_render. */
if (!reassigned) {
- render_con(con, false);
+ render_con(con);
x_push_node(con);
}
return true;