=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/server-client.c,v retrieving revision 1.241 retrieving revision 1.242 diff -c -r1.241 -r1.242 *** src/usr.bin/tmux/server-client.c 2017/07/14 08:04:23 1.241 --- src/usr.bin/tmux/server-client.c 2017/08/16 12:12:54 1.242 *************** *** 1,4 **** ! /* $OpenBSD: server-client.c,v 1.241 2017/07/14 08:04:23 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: server-client.c,v 1.242 2017/08/16 12:12:54 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott *************** *** 74,92 **** /* Set identify mode on client. */ void ! server_client_set_identify(struct client *c) { struct timeval tv; - int delay; - delay = options_get_number(c->session->options, "display-panes-time"); tv.tv_sec = delay / 1000; tv.tv_usec = (delay % 1000) * 1000L; if (event_initialized(&c->identify_timer)) evtimer_del(&c->identify_timer); evtimer_set(&c->identify_timer, server_client_callback_identify, c); ! evtimer_add(&c->identify_timer, &tv); c->flags |= CLIENT_IDENTIFY; c->tty.flags |= (TTY_FREEZE|TTY_NOCURSOR); --- 74,91 ---- /* Set identify mode on client. */ void ! server_client_set_identify(struct client *c, u_int delay) { struct timeval tv; tv.tv_sec = delay / 1000; tv.tv_usec = (delay % 1000) * 1000L; if (event_initialized(&c->identify_timer)) evtimer_del(&c->identify_timer); evtimer_set(&c->identify_timer, server_client_callback_identify, c); ! if (delay != 0) ! evtimer_add(&c->identify_timer, &tv); c->flags |= CLIENT_IDENTIFY; c->tty.flags |= (TTY_FREEZE|TTY_NOCURSOR);