From f1c5ba0a10a5e95c6ea20001d1d7c632bf898811 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 7 Oct 2016 14:56:44 -0400 Subject: [PATCH] Merge pull request #937 from alkino/fix_scale_factor Add constant scale factor in get_text_size --- sway/border.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sway/border.c b/sway/border.c index c64fad70..ea29617f 100644 --- a/sway/border.c +++ b/sway/border.c @@ -180,7 +180,7 @@ static void render_title_bar(swayc_t *view, cairo_t *cr, struct wlc_geometry *b, // text if (view->name) { int width, height; - get_text_size(cr, config->font, &width, &height, false, "%s", view->name); + get_text_size(cr, config->font, &width, &height, 1, false, "%s", view->name); cairo_move_to(cr, x + 2, y + 2); cairo_set_source_u32(cr, colors->text); pango_printf(cr, config->font, 1, false, "%s", view->name);