client->floating_rect.x = client->rect.x;
client->floating_rect.y = client->rect.y;
- /* Copy the size the other direction */
+ /* Copy size the other direction */
client->child_rect.width = client->floating_rect.width;
client->child_rect.height = client->floating_rect.height;
/* Make sure it is on top of the other windows */
xcb_raise_window(conn, new->frame);
+ reposition_client(conn, new);
+ resize_client(conn, new);
+ /* redecorate_window flushes */
+ redecorate_window(conn, new);
}
new->initialized = true;