i3 - improved tiling WM


Fixing continuous resize bug in floating mode

Patch status: merged

Patch by Marius Muja

To apply this patch, use:
curl http://cr.i3wm.org/patch/7/raw.patch | git am

b/src/handlers.c

13
@@ -339,7 +339,7 @@ static void handle_configure_request(xcb_configure_request_event_t *event) {
14
 
15
     if (fullscreen != con && con_is_floating(con) && con_is_leaf(con)) {
16
         /* find the height for the decorations */
17
-        int deco_height = config.font.height + 5;
18
+        int deco_height = con->deco_rect.height;
19
         /* we actually need to apply the size/position changes to the *parent*
20
          * container */
21
         Rect bsr = con_border_style_rect(con);