]> git.sur5r.net Git - i3/i3/commitdiff
Fix for the fix: Don’t substract height twice
authorMichael Stapelberg <michael+x200@stapelberg.de>
Fri, 17 Apr 2009 23:13:57 +0000 (01:13 +0200)
committerMichael Stapelberg <michael+x200@stapelberg.de>
Fri, 17 Apr 2009 23:13:57 +0000 (01:13 +0200)
src/xcb.c

index b9ba009e17e1029f99ed84b181eca90ec4bb86fc..15f977dca1e11f4598a5b973a70089d0398f3edb 100644 (file)
--- 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);
 }