mirror of
https://github.com/swaywm/sway.git
synced 2026-03-11 05:34:18 -04:00
Renamed to pango_markup
This commit is contained in:
parent
ee4e245f16
commit
0f1cfdec61
9 changed files with 18 additions and 18 deletions
|
|
@ -278,9 +278,9 @@ void render(struct output *output, struct config *config, struct status_line *li
|
|||
int width, height;
|
||||
|
||||
if (line->protocol == TEXT) {
|
||||
get_text_size(window->cairo, window->font, &width, &height, config->plaintext_markup, "%s", line->text_line);
|
||||
get_text_size(window->cairo, window->font, &width, &height, config->pango_markup, "%s", line->text_line);
|
||||
cairo_move_to(cairo, window->width - margin - width, margin);
|
||||
pango_printf(window->cairo, window->font, config->plaintext_markup, "%s", line->text_line);
|
||||
pango_printf(window->cairo, window->font, config->pango_markup, "%s", line->text_line);
|
||||
} else if (line->protocol == I3BAR && line->block_line) {
|
||||
double pos = window->width - 0.5;
|
||||
bool edge = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue