i3lock-color

The world's most popular non-default computer lockscreen.
Index Commits Files Refs README LICENSE
commit 5bbdd025886739106b41dd5b1148ff89e5718110
parent ce7c826acbeac04de675e9e14e2a62418c70c2c7
Author: Cassandra <cassandra@techfo.xyz>
Date:   Tue, 10 Jul 2018 17:52:13 -0700

Merge pull request #102 from jaantoots/font-patch

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);