version 1.5, 2012/09/25 07:41:22 |
version 1.6, 2015/04/24 23:17:11 |
|
|
notify_input(struct window_pane *wp, struct evbuffer *input) |
notify_input(struct window_pane *wp, struct evbuffer *input) |
{ |
{ |
struct client *c; |
struct client *c; |
u_int i; |
|
|
|
/* |
/* |
* notify_input() is not queued and only does anything when |
* notify_input() is not queued and only does anything when |
|
|
if (!notify_enabled) |
if (!notify_enabled) |
return; |
return; |
|
|
for (i = 0; i < ARRAY_LENGTH(&clients); i++) { |
TAILQ_FOREACH(c, &clients, entry) { |
c = ARRAY_ITEM(&clients, i); |
if (c->flags & CLIENT_CONTROL) |
if (c != NULL && (c->flags & CLIENT_CONTROL)) |
|
control_notify_input(c, wp, input); |
control_notify_input(c, wp, input); |
} |
} |
} |
} |