summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--input/input-service.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/input/input-service.c b/input/input-service.c
index c7c07283..8856e503 100644
--- a/input/input-service.c
+++ b/input/input-service.c
@@ -545,6 +545,7 @@ static gboolean interrupt_connect_cb(GIOChannel *chan, GIOCondition cond,
isk = g_io_channel_unix_get_fd(chan);
idev->hidp.intr_sock = isk;
+ idev->hidp.idle_to = 1800; /* 30 sec */
len = sizeof(ret);
if (getsockopt(isk, SOL_SOCKET, SO_ERROR, &ret, &len) < 0) {