cairo_set_source_rgba(ctx, 250.0 / 255, 0, 0, 0.75);
break;
default:
+ if (unlock_state == STATE_NOTHING_TO_DELETE) {
+ cairo_set_source_rgba(ctx, 250.0 / 255, 0, 0, 0.75);
+ break;
+ }
cairo_set_source_rgba(ctx, 0, 0, 0, 0.75);
break;
}
cairo_set_source_rgb(ctx, 125.0 / 255, 51.0 / 255, 0);
break;
case STATE_AUTH_IDLE:
+ if (unlock_state == STATE_NOTHING_TO_DELETE) {
+ cairo_set_source_rgb(ctx, 125.0 / 255, 51.0 / 255, 0);
+ break;
+ }
+
cairo_set_source_rgb(ctx, 51.0 / 255, 125.0 / 255, 0);
break;
}
text = "lock failed!";
break;
default:
+ if (unlock_state == STATE_NOTHING_TO_DELETE) {
+ text = "no input";
+ }
if (show_failed_attempts && failed_attempts > 0) {
if (failed_attempts > 999) {
text = "> 999";