summaryrefslogtreecommitdiff
path: root/include/swaylock.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-01-29 14:48:00 -0500
committerGitHub <noreply@github.com>2019-01-29 14:48:00 -0500
commiteffdea523158c8e30f7654a87402df155a2229ad (patch)
treeaefcf80e26de3c590bbedf53244e41e163b30916 /include/swaylock.h
parentecc8402c43262e7d92ffa238e4da609c174f55a0 (diff)
parent40e9098a741b1a213b55cd6a400aa1c7eb4f47e8 (diff)
Merge pull request #39 from bendooru/show-failed-attempts1.3
Add option show-failed-attempts
Diffstat (limited to 'include/swaylock.h')
-rw-r--r--include/swaylock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/swaylock.h b/include/swaylock.h
index 56cee3b..f3ed374 100644
--- a/include/swaylock.h
+++ b/include/swaylock.h
@@ -50,6 +50,7 @@ struct swaylock_args {
bool show_indicator;
bool show_caps_lock_text;
bool show_caps_lock_indicator;
+ bool show_failed_attempts;
bool daemonize;
};
@@ -73,6 +74,7 @@ struct swaylock_state {
struct swaylock_password password;
struct swaylock_xkb xkb;
enum auth_state auth_state;
+ int failed_attempts;
bool run_display;
struct zxdg_output_manager_v1 *zxdg_output_manager;
};