Bugfix: Correctly use base_width/base_height and size increment hints, correctly send fake configure notify events

This commit is contained in:
Michael Stapelberg
2009-08-23 21:49:38 +02:00
parent 8c4e2e48f4
commit 55b1bf4582
4 changed files with 27 additions and 17 deletions

View File

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