]> git.sur5r.net Git - i3/i3/blobdiff - src/render.c
x: recurse x_push_node in focus order. reduces flickering when switching workspaces
[i3/i3] / src / render.c
index 37ee6e47ae4a7eedd8b08a22819681683dad5b5f..5bdc2e218519ed364b6295d1899c9b2011aea87d 100644 (file)
@@ -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];