summaryrefslogtreecommitdiffstats
path: root/sway/border.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/border.c')
-rw-r--r--sway/border.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/border.c b/sway/border.c
index 411c0427..3613d2d6 100644
--- a/sway/border.c
+++ b/sway/border.c
@@ -85,7 +85,7 @@ int get_font_text_height(const char *font) {
85 cairo_surface_t *surface = cairo_image_surface_create(CAIRO_FORMAT_ARGB32, 200, 200); 85 cairo_surface_t *surface = cairo_image_surface_create(CAIRO_FORMAT_ARGB32, 200, 200);
86 cairo_t *cr = cairo_create(surface); 86 cairo_t *cr = cairo_create(surface);
87 int width, height; 87 int width, height;
88 get_text_size(cr, font, &width, &height, "Gg"); 88 get_text_size(cr, font, &width, &height, false, "Gg");
89 cairo_surface_destroy(surface); 89 cairo_surface_destroy(surface);
90 cairo_destroy(cr); 90 cairo_destroy(cr);
91 return height; 91 return height;
@@ -162,7 +162,7 @@ static void render_with_title_bar(swayc_t *view, cairo_t *cr, struct border_colo
162 int y = MIN(view->actual_geometry.origin.y - height - 2, 2); 162 int y = MIN(view->actual_geometry.origin.y - height - 2, 2);
163 cairo_move_to(cr, x, y); 163 cairo_move_to(cr, x, y);
164 cairo_set_source_u32(cr, colors->text); 164 cairo_set_source_u32(cr, colors->text);
165 pango_printf(cr, config->font, "%s", view->name); 165 pango_printf(cr, config->font, false, "%s", view->name);
166 } 166 }
167 167
168 // header bottom line 168 // header bottom line