Fix crash when minimising pane.

This commit is contained in:
Michael Grant
2026-05-13 22:28:14 +01:00
parent 6b16e93f1b
commit 1ff3dafe4e
5 changed files with 54 additions and 53 deletions

View File

@@ -77,6 +77,9 @@ control_notify_window_pane_changed(struct window *w)
{
struct client *c;
if (w->active == NULL)
return;
TAILQ_FOREACH(c, &clients, entry) {
if (!CONTROL_SHOULD_NOTIFY_CLIENT(c))
continue;