i3lock-color

The world's most popular non-default computer lockscreen.
Index Commits Files Refs README LICENSE
commit 5794922ca5b98f6f5b57547872aeea636adc67bb
parent ce7c826acbeac04de675e9e14e2a62418c70c2c7
Author: Jaan Toots <jaantoots@gmail.com>
Date:   Sun,  8 Jul 2018 15:50:30 +0100

Fix setting font in draw_text

Diffstat:
Munlock_indicator.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/unlock_indicator.c b/unlock_indicator.c
@@ -278,6 +278,7 @@ static void draw_text(cairo_t *ctx, text_t text) {
     if (!text.show)
         return;
     cairo_text_extents_t extents;
+    cairo_set_font_face(ctx, text.font);
     cairo_set_font_size(ctx, text.size);
 
     cairo_text_extents(ctx, text.str, &extents);