Bugfix: Calculation of width in fake_absoute_configure_notify was wrong for windows with aspect ratio (Thanks Mirko)

This commit is contained in:
Michael Stapelberg 2009-04-17 19:08:38 +02:00
parent 36bacc151e
commit 12cc8b78af
1 changed files with 2 additions and 2 deletions

View File

@ -222,8 +222,8 @@ void fake_absolute_configure_notify(xcb_connection_t *conn, Client *client) {
absolute.x = client->rect.x;
absolute.y = client->rect.y;
absolute.width = client->rect.width - client->child_rect.x;
absolute.height = client->rect.height - client->child_rect.y;
absolute.width = client->rect.width - (2 * client->child_rect.x);
absolute.height = client->rect.height - (2 * client->child_rect.y);
fake_configure_notify(conn, absolute, client->child);
}