summaryrefslogtreecommitdiff
path: root/swaylock/main.c
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2018-04-03 15:33:02 -0400
committerDrew DeVault <[email protected]>2018-04-04 18:47:48 -0400
commit62a736a1961db42acefc4c5746c0f080b152f2b6 (patch)
treeb2b9d1f921062dc999417ccdd65d01e326daaef6 /swaylock/main.c
parentd053acbed6fea0f73eb79ac800c1342f8afadeb8 (diff)
Actually let's not do that TODO
Diffstat (limited to 'swaylock/main.c')
-rw-r--r--swaylock/main.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/swaylock/main.c b/swaylock/main.c
index ce337e24..7f502eb1 100644
--- a/swaylock/main.c
+++ b/swaylock/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'},