mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
common/font: Add scale argument
This commit is contained in:
parent
2aaf26e87b
commit
f3a685155d
4 changed files with 10 additions and 10 deletions
|
|
@ -247,7 +247,8 @@ ssd_update_title(struct view *view)
|
|||
}
|
||||
|
||||
/* Generate and update the lab_data_buffer, drops the old buffer */
|
||||
font_buffer_update(&part->buffer, title_bg_width, title, &font, text_color);
|
||||
font_buffer_update(&part->buffer, title_bg_width, title, &font,
|
||||
text_color, 1);
|
||||
if (!part->buffer) {
|
||||
/* This can happen for example by defining a font size of 0 */
|
||||
wlr_log(WLR_ERROR, "Failed to create title buffer");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue