diff options
author | Drew DeVault <sir@cmpwn.com> | 2016-04-24 08:52:36 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2016-04-24 08:52:36 -0400 |
commit | a796ce4f667575d4f5c663c9baa817f8c0842f6e (patch) | |
tree | 64c6ac19809a563f96cff604d780578af797815f /sway | |
parent | dd575ffd552e40c239c5e2b0ce2cd11b02899872 (diff) | |
parent | a25c35f859e64dd3007c1a86eae48ac449ab7dbd (diff) |
Merge pull request #598 from Hummer12007/pango_fix
Passing missing argument to get_text_size
Diffstat (limited to 'sway')
-rw-r--r-- | sway/border.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/border.c b/sway/border.c index 3613d2d6..a6ed4238 100644 --- a/sway/border.c +++ b/sway/border.c @@ -157,7 +157,7 @@ static void render_with_title_bar(swayc_t *view, cairo_t *cr, struct border_colo // text if (view->name) { int width, height; - get_text_size(cr, config->font, &width, &height, "%s", view->name); + get_text_size(cr, config->font, &width, &height, false, "%s", view->name); int x = MIN(view->actual_geometry.origin.x, view->border_thickness); int y = MIN(view->actual_geometry.origin.y - height - 2, 2); cairo_move_to(cr, x, y); |