summaryrefslogtreecommitdiff
path: root/unlock_indicator.h
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2015-03-16 18:47:16 +0100
committerMichael Stapelberg <michael@stapelberg.de>2015-03-16 18:47:16 +0100
commit68b78a7f5795483250a32737ea8c4773be9bf1ca (patch)
treecc09da65e6572eda59b144f4b233359ba4aba609 /unlock_indicator.h
parent783509b872726627c7c0d65e092e265c5e2f0201 (diff)
clang-format -i **/*.[ch]
From here on, we’ll use clang-format to automatically format the source. This has worked well in i3, so we are introducing it for i3lock.
Diffstat (limited to 'unlock_indicator.h')
-rw-r--r--unlock_indicator.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/unlock_indicator.h b/unlock_indicator.h
index 0f57a86..d08fd0c 100644
--- a/unlock_indicator.h
+++ b/unlock_indicator.h
@@ -2,18 +2,18 @@
#define _UNLOCK_INDICATOR_H
typedef enum {
- STATE_STARTED = 0, /* default state */
- STATE_KEY_PRESSED = 1, /* key was pressed, show unlock indicator */
- STATE_KEY_ACTIVE = 2, /* a key was pressed recently, highlight part
+ STATE_STARTED = 0, /* default state */
+ STATE_KEY_PRESSED = 1, /* key was pressed, show unlock indicator */
+ STATE_KEY_ACTIVE = 2, /* a key was pressed recently, highlight part
of the unlock indicator. */
- STATE_BACKSPACE_ACTIVE = 3 /* backspace was pressed recently, highlight
+ STATE_BACKSPACE_ACTIVE = 3 /* backspace was pressed recently, highlight
part of the unlock indicator in red. */
} unlock_state_t;
typedef enum {
- STATE_PAM_IDLE = 0, /* no PAM interaction at the moment */
- STATE_PAM_VERIFY = 1, /* currently verifying the password via PAM */
- STATE_PAM_WRONG = 2 /* the password was wrong */
+ STATE_PAM_IDLE = 0, /* no PAM interaction at the moment */
+ STATE_PAM_VERIFY = 1, /* currently verifying the password via PAM */
+ STATE_PAM_WRONG = 2 /* the password was wrong */
} pam_state_t;
xcb_pixmap_t draw_image(uint32_t* resolution);