~kris/suckless

slock

934febedfa35ed19de89ce71f931bead030f5e89 — bakkeby 1 year, 13 days ago 433e961
alpha: change alpha variable from float to double

The float value caused the opacity to be calculated as 0 due to
precision loss when multiplying with unsigned int 0xffffffff.
1 files changed, 1 insertions(+), 1 deletions(-)

M config.def.h
M config.def.h => config.def.h +1 -1
@@ 86,7 86,7 @@ ResourcePref resources[] = {

#if ALPHA_PATCH
/* lock screen opacity */
static const float alpha = 0.9;
static const double alpha = 0.9;
#endif // ALPHA_PATCH

/* treat a cleared input like a wrong password (color) */