diff options
| author | Alexander Martin <10480820+afmartin@users.noreply.github.com> | 2019-08-03 19:07:50 -0600 |
|---|---|---|
| committer | Brian Ashworth <bosrsf04@gmail.com> | 2019-08-04 02:15:49 -0400 |
| commit | 666ae950bc9c58b2676724e0d614f9018100fcca (patch) | |
| tree | 47b6c2153e997c0c084387421188f8a42d121238 /render.c | |
| parent | 080e8356b7c4a442985b7c7fcaddcbe2a950a3c0 (diff) | |
Adds option to show indicator even if idle
Diffstat (limited to 'render.c')
| -rw-r--r-- | render.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -116,7 +116,8 @@ void render_frame(struct swaylock_surface *surface) { float type_indicator_border_thickness = TYPE_INDICATOR_BORDER_THICKNESS * surface->scale; - if (state->args.show_indicator && state->auth_state != AUTH_STATE_IDLE) { + if (state->args.show_indicator && (state->auth_state != AUTH_STATE_IDLE || + state->args.indicator_idle_visible)) { // Draw circle cairo_set_line_width(cairo, arc_thickness); cairo_arc(cairo, buffer_width / 2, buffer_diameter / 2, arc_radius, |
