From: Marius Muja Date: Wed, 2 Jan 2013 09:19:38 +0000 (-0800) Subject: Fixing continuous resize bug in floating mode X-Git-Tag: 4.5~51 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bfd150872d6d5022127357d9f6fdbd6c6164e636;p=i3%2Fi3 Fixing continuous resize bug in floating mode fixes #910 --- diff --git a/src/handlers.c b/src/handlers.c index 1bfcce56..4f2d870e 100644 --- a/src/handlers.c +++ b/src/handlers.c @@ -339,7 +339,7 @@ static void handle_configure_request(xcb_configure_request_event_t *event) { if (fullscreen != con && con_is_floating(con) && con_is_leaf(con)) { /* find the height for the decorations */ - int deco_height = config.font.height + 5; + int deco_height = con->deco_rect.height; /* we actually need to apply the size/position changes to the *parent* * container */ Rect bsr = con_border_style_rect(con);