- Don't know why I didn't do this correctly in the first place :-| --- client.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/client.c b/client.c index e17951d..894e5ef 100644 --- a/client.c +++ b/client.c @@ -1261,15 +1261,15 @@ client_setborder(client_t *c, int width) return; /* Update geometry with the new border. */ - c->geometry.width -= c->border; - c->geometry.height -= c->border; + c->geometry.width -= 2*c->border; + c->geometry.height -= 2*c->border; c->border = width; xcb_configure_window(globalconf.connection, c->win, XCB_CONFIG_WINDOW_BORDER_WIDTH, &w); - c->geometry.width += c->border; - c->geometry.height += c->border; + c->geometry.width += 2*c->border; + c->geometry.height += 2*c->border; /* Tiled clients will be resized by the layout functions. */ client_need_arrange(c); -- 1.6.1.3 -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.