mirror of
https://github.com/swaywm/sway.git
synced 2024-12-28 07:56:31 +01:00
parent
96935f2682
commit
123de86001
1 changed files with 1 additions and 1 deletions
|
@ -287,7 +287,7 @@ void render(struct output *output, struct config *config, struct status_line *li
|
||||||
if (line->protocol == TEXT) {
|
if (line->protocol == TEXT) {
|
||||||
get_text_size(window, &width, &height, "%s", line->text_line);
|
get_text_size(window, &width, &height, "%s", line->text_line);
|
||||||
cairo_move_to(cairo, window->width - margin - width, margin);
|
cairo_move_to(cairo, window->width - margin - width, margin);
|
||||||
pango_printf(window, "%s", line);
|
pango_printf(window, "%s", line->text_line);
|
||||||
} else if (line->protocol == I3BAR && line->block_line) {
|
} else if (line->protocol == I3BAR && line->block_line) {
|
||||||
double pos = window->width - 0.5;
|
double pos = window->width - 0.5;
|
||||||
bool edge = true;
|
bool edge = true;
|
||||||
|
|
Loading…
Reference in a new issue