From b878e1491f881a8964486dbb612407717bc64357 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 30 Jan 2009 15:07:49 +0100 Subject: [PATCH] client: reset height and width on unbanning Signed-off-by: Julien Danjou --- client.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/client.c b/client.c index 8a48d26e7..feeefcd53 100644 --- a/client.c +++ b/client.c @@ -1052,10 +1052,16 @@ client_unban(client_t *c) if(c->isbanned) { /* Move the client back where it belongs. */ - uint32_t request[2] = { c->geometries.internal.x, c->geometries.internal.y }; + uint32_t request[] = { c->geometries.internal.x, + c->geometries.internal.y, + c->geometries.internal.width, + c->geometries.internal.height }; xcb_configure_window(globalconf.connection, c->win, - XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y, + XCB_CONFIG_WINDOW_X + | XCB_CONFIG_WINDOW_Y + | XCB_CONFIG_WINDOW_WIDTH + | XCB_CONFIG_WINDOW_HEIGHT, request); window_configure(c->win, c->geometries.internal, c->border);