summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2007-01-24 20:17:08 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2007-01-24 20:17:08 +0000
commit0e1bf963709b5fa4a953a7e97d9c343a2b617cd0 (patch)
treee9da36b7697e1c14f267f63fc687c751fc5bb6c4
parenta0aeaf15caa9e967f6be1a7b3a3087ff9122c7a9 (diff)
Set the default idle timeout to 30 sec
-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) {