From: Michael Stapelberg Date: Fri, 17 Apr 2009 23:13:57 +0000 (+0200) Subject: Fix for the fix: Don’t substract height twice X-Git-Tag: 3.a-bf1~35 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6ccee82368534471f2178540d3fc7c476734a932;p=i3%2Fi3 Fix for the fix: Don’t substract height twice --- diff --git a/src/xcb.c b/src/xcb.c index b9ba009e..15f977dc 100644 --- a/src/xcb.c +++ b/src/xcb.c @@ -223,7 +223,7 @@ 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 - (2 * client->child_rect.x); - absolute.height = client->rect.height - (2 * client->child_rect.y); + absolute.height = client->rect.height - client->child_rect.y - 1; fake_configure_notify(conn, absolute, client->child); }