diff options
author | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2007-01-24 20:17:08 +0000 |
---|---|---|
committer | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2007-01-24 20:17:08 +0000 |
commit | 0e1bf963709b5fa4a953a7e97d9c343a2b617cd0 (patch) | |
tree | e9da36b7697e1c14f267f63fc687c751fc5bb6c4 | |
parent | a0aeaf15caa9e967f6be1a7b3a3087ff9122c7a9 (diff) |
Set the default idle timeout to 30 sec
-rw-r--r-- | input/input-service.c | 1 |
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) { |