aboutsummaryrefslogtreecommitdiffstats
path: root/swaynag/render.c
diff options
context:
space:
mode:
Diffstat (limited to 'swaynag/render.c')
-rw-r--r--swaynag/render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/swaynag/render.c b/swaynag/render.c
index f6507e67..4537ec04 100644
--- a/swaynag/render.c
+++ b/swaynag/render.c
@@ -47,7 +47,7 @@ static void render_details_scroll_button(cairo_t *cairo,
47 button->width - (border * 2), button->height - (border * 2)); 47 button->width - (border * 2), button->height - (border * 2));
48 cairo_fill(cairo); 48 cairo_fill(cairo);
49 49
50 cairo_set_source_u32(cairo, swaynag->type->text); 50 cairo_set_source_u32(cairo, swaynag->type->button_text);
51 cairo_move_to(cairo, button->x + border + padding, 51 cairo_move_to(cairo, button->x + border + padding,
52 button->y + border + (button->height - text_height) / 2); 52 button->y + border + (button->height - text_height) / 2);
53 pango_printf(cairo, swaynag->type->font, swaynag->scale, true, 53 pango_printf(cairo, swaynag->type->font, swaynag->scale, true,
@@ -199,7 +199,7 @@ static uint32_t render_button(cairo_t *cairo, struct swaynag *swaynag,
199 button->width, button->height); 199 button->width, button->height);
200 cairo_fill(cairo); 200 cairo_fill(cairo);
201 201
202 cairo_set_source_u32(cairo, swaynag->type->text); 202 cairo_set_source_u32(cairo, swaynag->type->button_text);
203 cairo_move_to(cairo, button->x + padding, button->y + padding); 203 cairo_move_to(cairo, button->x + padding, button->y + padding);
204 pango_printf(cairo, swaynag->type->font, swaynag->scale, true, 204 pango_printf(cairo, swaynag->type->font, swaynag->scale, true,
205 "%s", button->text); 205 "%s", button->text);