Passing missing argument to get_text_size

This commit is contained in:
Mykyta Holubakha 2016-04-24 10:39:42 +03:00
parent d8482419fc
commit a25c35f859
2 changed files with 6 additions and 6 deletions

View file

@ -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);