Merge branch 'master' into events

# Conflicts:
#	control-notify.c
This commit is contained in:
Nicholas Marriott
2026-07-10 10:24:49 +01:00
3 changed files with 162 additions and 141 deletions

View File

@@ -27,6 +27,7 @@
#define CONTROL_SHOULD_NOTIFY_CLIENT(c) \
((c) != NULL && \
((c)->flags & CLIENT_CONTROL) && \
(~(c)->flags & CLIENT_EXIT) && \
(c)->control_state != NULL)
/* Notify control clients that pane mode changed. */

View File

@@ -375,7 +375,7 @@ control_write_output(struct client *c, struct window_pane *wp)
if (winlink_find_by_window(&c->session->windows, wp->window) == NULL)
return;
if (c->flags & CONTROL_IGNORE_FLAGS) {
if (c->flags & (CONTROL_IGNORE_FLAGS|CLIENT_EXIT)) {
cp = control_get_pane(c, wp);
if (cp != NULL)
goto ignore;

File diff suppressed because it is too large Load Diff