mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
font: use PangoWeight enum
No change in functionality. Suggested-by: @spl237
This commit is contained in:
parent
5148c2aa31
commit
94ead35227
4 changed files with 17 additions and 68 deletions
|
|
@ -297,7 +297,7 @@ create_osd_scene(struct output *output, struct wl_array *views)
|
|||
/* Draw workspace indicator */
|
||||
if (show_workspace) {
|
||||
struct font font = rc.font_osd;
|
||||
font.weight = FONT_WEIGHT_BOLD;
|
||||
font.weight = PANGO_WEIGHT_BOLD;
|
||||
|
||||
/* Center workspace indicator on the x axis */
|
||||
int x = (w - font_width(&font, workspace_name)) / 2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue