1
0
mirror of https://github.com/openbsd/src.git synced 2026-05-01 17:46:35 +00:00

Do not notify clients if not fully initialized, from Ben Maurer in

GitHub issue 4980.
This commit is contained in:
nicm
2026-04-13 09:35:20 +00:00
parent 60b5b83d4a
commit 8030d57a83

View File

@@ -1,4 +1,4 @@
/* $OpenBSD: control-notify.c,v 1.32 2026/02/16 08:45:38 nicm Exp $ */
/* $OpenBSD: control-notify.c,v 1.33 2026/04/13 09:35:20 nicm Exp $ */
/*
* Copyright (c) 2012 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -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)