summaryrefslogtreecommitdiffstats
path: root/window-client.c
diff options
context:
space:
mode:
authornicm <nicm>2020-06-01 09:43:00 +0000
committernicm <nicm>2020-06-01 09:43:00 +0000
commita54a88edd6fd893d4370feb9f9136e13096b891c (patch)
tree1e42bf42d42c31e1ef3c059aaf1ae25ae6ef3bd5 /window-client.c
parent175e45005f4572b19a4aa34094f9a8c69ced5475 (diff)
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 'window-client.c')
-rw-r--r--window-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/window-client.c b/window-client.c
index 159efa5a..5e02462b 100644
--- a/window-client.c
+++ b/window-client.c
@@ -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);