From e5a2a25fafb8ee107c230d8acad694f6b635f8bb Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 13 Apr 2026 09:35:20 +0000 Subject: [PATCH] Do not notify clients if not fully initialized, from Ben Maurer in GitHub issue 4980. --- control-notify.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/control-notify.c b/control-notify.c index ba6a8355..0ced0c87 100644 --- a/control-notify.c +++ b/control-notify.c @@ -24,7 +24,8 @@ #include "tmux.h" #define CONTROL_SHOULD_NOTIFY_CLIENT(c) \ - ((c) != NULL && ((c)->flags & CLIENT_CONTROL)) + ((c) != NULL && ((c)->flags & CLIENT_CONTROL) && \ + (c)->control_state != NULL) void control_notify_pane_mode_changed(int pane)