summaryrefslogtreecommitdiffstats
path: root/sway/border.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/border.c')
-rw-r--r--sway/border.c2
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
157 // text 157 // text
158 if (view->name) { 158 if (view->name) {
159 int width, height; 159 int width, height;
160 get_text_size(cr, config->font, &width, &height, "%s", view->name); 160 get_text_size(cr, config->font, &width, &height, false, "%s", view->name);
161 int x = MIN(view->actual_geometry.origin.x, view->border_thickness); 161 int x = MIN(view->actual_geometry.origin.x, view->border_thickness);
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);