version 1.98, 2016/01/19 15:59:12 |
version 1.99, 2016/06/16 10:55:47 |
|
|
} |
} |
|
|
void |
void |
server_clear_identify(struct client *c) |
server_clear_identify(struct client *c, struct window_pane *wp) |
{ |
{ |
if (c->flags & CLIENT_IDENTIFY) { |
if (~c->flags & CLIENT_IDENTIFY) |
c->flags &= ~CLIENT_IDENTIFY; |
return; |
c->tty.flags &= ~(TTY_FREEZE|TTY_NOCURSOR); |
c->flags &= ~CLIENT_IDENTIFY; |
server_redraw_client(c); |
|
} |
if (c->identify_callback != NULL) |
|
c->identify_callback(c, wp); |
|
|
|
c->tty.flags &= ~(TTY_FREEZE|TTY_NOCURSOR); |
|
server_redraw_client(c); |
} |
} |
|
|
void |
void |
server_callback_identify(__unused int fd, __unused short events, void *data) |
server_callback_identify(__unused int fd, __unused short events, void *data) |
{ |
{ |
struct client *c = data; |
server_clear_identify(data, NULL); |
|
|
server_clear_identify(c); |
|
} |
} |
|
|
/* Set stdin callback. */ |
/* Set stdin callback. */ |