diff options
author | nicm <nicm> | 2015-08-28 12:25:42 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-08-28 12:25:42 +0000 |
commit | 6419f665237d4280966c298a38836b53746b8dcc (patch) | |
tree | 4f48104a789fea060ddb9b44fa91e3a6c21712f6 /server.c | |
parent | 75d10058a41d8e95dda126d460a119a9037e9345 (diff) |
Give clock mode its own timer.
Diffstat (limited to 'server.c')
-rw-r--r-- | server.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -504,8 +504,6 @@ server_child_stopped(pid_t pid, int status) void server_second_callback(unused int fd, unused short events, unused void *arg) { - struct window *w; - struct window_pane *wp; struct timeval tv; if (options_get_number(&global_s_options, "lock-server")) @@ -513,13 +511,6 @@ server_second_callback(unused int fd, unused short events, unused void *arg) else server_lock_sessions(); - RB_FOREACH(w, windows, &windows) { - TAILQ_FOREACH(wp, &w->panes, entry) { - if (wp->mode != NULL && wp->mode->timer != NULL) - wp->mode->timer(wp); - } - } - evtimer_del(&server_ev_second); memset(&tv, 0, sizeof tv); tv.tv_sec = 1; |