X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Frender.c;h=5bdc2e218519ed364b6295d1899c9b2011aea87d;hb=b644fb5f26c1768b70c5b49d8cd917a63a2d1d91;hp=37ee6e47ae4a7eedd8b08a22819681683dad5b5f;hpb=b0b195318c9c264e1b053f286e61df3ef854cff0;p=i3%2Fi3 diff --git a/src/render.c b/src/render.c index 37ee6e47..5bdc2e21 100644 --- a/src/render.c +++ b/src/render.c @@ -194,8 +194,7 @@ void render_con(Con *con, bool render_fullscreen) { } /* find the height for the decorations */ - i3Font *font = load_font(conn, config.font); - int deco_height = font->height + 5; + int deco_height = config.font.height + 5; /* precalculate the sizes to be able to correct rounding errors */ int sizes[children];