aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-11-28 12:18:41 +0000
committerThomas Adam <thomas@xteddy.org>2019-11-28 12:18:41 +0000
commit5f5f029e3b3a782dc616778739b2801b00b17c0e (patch)
treefad35dccc37c54e45d0ecc497d3b915dd7b835aa /input.c
parentc13838436e6883d191374f1628e675bfbb8c8aeb (diff)
parentfa409194d3dfe0095bf6572a253772f2825f5dec (diff)
downloadrtmux-5f5f029e3b3a782dc616778739b2801b00b17c0e.tar.gz
rtmux-5f5f029e3b3a782dc616778739b2801b00b17c0e.tar.bz2
rtmux-5f5f029e3b3a782dc616778739b2801b00b17c0e.zip
Merge branch 'obsd-master'
Diffstat (limited to 'input.c')
-rw-r--r--input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input.c b/input.c
index 96fd5d33..452eac7f 100644
--- a/input.c
+++ b/input.c
@@ -740,7 +740,7 @@ input_timer_callback(__unused int fd, __unused short events, void *arg)
static void
input_start_timer(struct input_ctx *ictx)
{
- struct timeval tv = { .tv_usec = 100000 };
+ struct timeval tv = { .tv_sec = 5, .tv_usec = 0 };
event_del(&ictx->timer);
event_add(&ictx->timer, &tv);