Bugfix: Correctly initialize automatically floating clients (some rendering issues)

This commit is contained in:
Michael Stapelberg
2009-06-19 12:34:31 +02:00
parent a6d7f5451d
commit 51402b05f5
2 changed files with 5 additions and 1 deletions

View File

@ -110,7 +110,7 @@ void toggle_floating_mode(xcb_connection_t *conn, Client *client, bool automatic
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;