diff options
| author | 2020-06-01 09:43:00 +0000 | |
|---|---|---|
| committer | 2020-06-01 09:43:00 +0000 | |
| commit | a34cf9c854af10b16e42da7f8b8e02d14cf4d44e (patch) | |
| tree | fdfafcc3f79b8a18ea3700b43f7f2428263e0174 /usr.bin/tmux/window-client.c | |
| parent | Revert "Ignore new Rxblock ack agreements until the WPA handshake is done." (diff) | |
| download | wireguard-openbsd-a34cf9c854af10b16e42da7f8b8e02d14cf4d44e.tar.xz wireguard-openbsd-a34cf9c854af10b16e42da7f8b8e02d14cf4d44e.zip | |
Instead of sending all data to control mode clients as fast as possible,
add a limit of how much data will be sent to the client and try to use
it for panes with some degree of fairness. GitHub issue 2217, with
George Nachman.
Diffstat (limited to 'usr.bin/tmux/window-client.c')
| -rw-r--r-- | usr.bin/tmux/window-client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/window-client.c b/usr.bin/tmux/window-client.c index d987fbe40a8..3175d628336 100644 --- a/usr.bin/tmux/window-client.c +++ b/usr.bin/tmux/window-client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: window-client.c,v 1.28 2020/05/16 16:02:24 nicm Exp $ */ +/* $OpenBSD: window-client.c,v 1.29 2020/06/01 09:43:01 nicm Exp $ */ /* * Copyright (c) 2017 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -166,7 +166,7 @@ window_client_build(void *modedata, struct mode_tree_sort_criteria *sort_crit, data->item_size = 0; TAILQ_FOREACH(c, &clients, entry) { - if (c->session == NULL || (c->flags & (CLIENT_DETACHING))) + if (c->session == NULL || (c->flags & CLIENT_UNATTACHEDFLAGS)) continue; item = window_client_add_item(data); |
