summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-04-03 15:33:02 -0400
committerDrew DeVault <sir@cmpwn.com>2018-04-04 18:47:48 -0400
commit5e61e86883b4c08b1143752140b1c58f17ae3ecb (patch)
tree39a03923efe11f8b6646837ff4aa35a0ef97eb05
parentd9287eb53b3ff89ad9e1009b198da0e751c8b9b1 (diff)
Actually let's not do that TODO
-rw-r--r--main.c8
-rw-r--r--password.c1
2 files changed, 0 insertions, 9 deletions
diff --git a/main.c b/main.c
index ce337e2..7f502eb 100644
--- a/main.c
+++ b/main.c
@@ -93,15 +93,7 @@ static const struct wl_registry_listener registry_listener = {
static struct swaylock_state state;
-static void sigalarm_handler(int sig) {
- signal(SIGALRM, SIG_IGN);
- // TODO: Hide typing indicator
- signal(SIGALRM, sigalarm_handler);
-}
-
int main(int argc, char **argv) {
- signal(SIGALRM, sigalarm_handler);
-
static struct option long_options[] = {
{"help", no_argument, NULL, 'h'},
{"color", required_argument, NULL, 'c'},
diff --git a/password.c b/password.c
index 2bdf151..2927a9a 100644
--- a/password.c
+++ b/password.c
@@ -121,5 +121,4 @@ void swaylock_handle_key(struct swaylock_state *state,
}
break;
}
- // TODO: Expire state in a few seconds
}