From 04df061aa0806236f01b35529a8eb5a87b1b0795 Mon Sep 17 00:00:00 2001 From: Maarten Maathuis Date: Sat, 14 Feb 2009 20:41:54 +0100 Subject: [PATCH] event: handle border size changes in configurerequest Signed-off-by: Julien Danjou --- event.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/event.c b/event.c index f4bfd63a..cd268211 100644 --- a/event.c +++ b/event.c @@ -291,6 +291,9 @@ event_handle_configurerequest(void *data __attribute__ ((unused)), if(ev->value_mask & XCB_CONFIG_WINDOW_HEIGHT) geometry.height = ev->height; + if (ev->value_mask & XCB_CONFIG_WINDOW_BORDER_WIDTH) + client_setborder(c, ev->border_width); + if(c->isbanned) { /* We'll be sending protocol geometry, so don't readd borders and titlebar. */