]> git.sur5r.net Git - i3/i3/commitdiff
Fixing continuous resize bug in floating mode
authorMarius Muja <mariusm@cs.ubc.ca>
Wed, 2 Jan 2013 09:19:38 +0000 (01:19 -0800)
committerMichael Stapelberg <michael@stapelberg.de>
Thu, 24 Jan 2013 11:42:13 +0000 (12:42 +0100)
fixes #910

src/handlers.c

index 1bfcce562b9af13084889cb07be8cd5a138aeb3d..4f2d870eb00a9e3ee84503a1f9e6bd0178307e45 100644 (file)
@@ -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);