mirror of
https://github.com/swaywm/sway.git
synced 2025-11-13 13:29:49 -05:00
Passing missing argument to get_text_size
This commit is contained in:
parent
d8482419fc
commit
a25c35f859
2 changed files with 6 additions and 6 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue