i3lock-color

The world's most popular non-default computer lockscreen.
Index Commits Files Refs README LICENSE
commit 9c8ae8b5d1dcf67ee34969068f4068b5c6b9ce62
parent 7504e16527d4307343ac13f7543394b7dcfc5977
Author: Bownairo <eerokelly@gmail.com>
Date:   Tue, 10 Jan 2017 03:01:19 -0500

Change input slices to be exactly pi/3 in size instead of slightly more (#107)


Diffstat:
Munlock_indicator.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/unlock_indicator.c b/unlock_indicator.c
@@ -296,8 +296,8 @@ xcb_pixmap_t draw_image(uint32_t *resolution) {
                       BUTTON_CENTER /* x */,
                       BUTTON_CENTER /* y */,
                       BUTTON_RADIUS /* radius */,
-                      highlight_start + (M_PI / 3.0) /* start */,
-                      (highlight_start + (M_PI / 3.0)) + (M_PI / 128.0) /* end */);
+                      (highlight_start + (M_PI / 3.0)) - (M_PI / 128.0) /* start */,
+                      highlight_start + (M_PI / 3.0) /* end */);
             cairo_stroke(ctx);
         }
     }