summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-16 13:20:35 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-16 13:20:35 +0100
commit134756388105672448c444adb8991077fc0d12b9 (patch)
treee103a250da390f41b46cad2647fd4e0356bc53a8 /config.def.h
parent156ed4787fd5f30811eb04dc45873a38ca54f73f (diff)
Apply quickcancel patch
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index c66a19f..a0305fb 100644
--- a/config.def.h
+++ b/config.def.h
@@ -12,6 +12,9 @@ static const char *colorname[NUMCOLS] = {
/* treat a cleared input like a wrong password (color) */
static const int failonclear = 1;
+/* time in seconds to cancel lock with mouse movement */
+static const int timetocancel = 4;
+
/* time in seconds before the monitor shuts down */
static const int monitortime = 5;