diff options
author | Thomas Adam <thomas@xteddy.org> | 2015-06-15 14:01:09 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2015-06-15 14:01:09 +0100 |
commit | 9fdc3a069a55aad638b2985cd5427a1853335f24 (patch) | |
tree | ee9e84da2f7fb03de7fdbd1de4b2e4d63e9cf393 /input.c | |
parent | 37005d04a9a3871ca4c41e8ed47569f4061532f9 (diff) | |
parent | d96ab3401960ab4a7c9434dfda1ebdc5204873e0 (diff) | |
download | rtmux-9fdc3a069a55aad638b2985cd5427a1853335f24.tar.gz rtmux-9fdc3a069a55aad638b2985cd5427a1853335f24.tar.bz2 rtmux-9fdc3a069a55aad638b2985cd5427a1853335f24.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'input.c')
-rw-r--r-- | input.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -20,6 +20,7 @@ #include <stdlib.h> #include <string.h> +#include <time.h> #include "tmux.h" @@ -849,6 +850,9 @@ input_parse(struct window_pane *wp) wp->window->flags |= WINDOW_ACTIVITY; wp->window->flags &= ~WINDOW_SILENCE; + if (gettimeofday(&wp->window->activity_time, NULL) != 0) + fatal("gettimeofday failed"); + /* * Open the screen. Use NULL wp if there is a mode set as don't want to * update the tty. |