mirror of
https://github.com/tmux/tmux.git
synced 2026-10-13 06:04:34 +00:00
Ignore a resize from a client whose tty is closed, from someone in
GitHub issue 5723.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
/* $OpenBSD: server-client.c,v 1.519 2026/10/09 10:16:02 nicm Exp $ */
|
/* $OpenBSD: server-client.c,v 1.520 2026/10/12 10:48:05 nicm Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com>
|
* Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com>
|
||||||
@@ -2604,7 +2604,7 @@ server_client_dispatch(struct imsg *imsg, void *arg)
|
|||||||
if (datalen != 0)
|
if (datalen != 0)
|
||||||
goto bad;
|
goto bad;
|
||||||
|
|
||||||
if (c->flags & CLIENT_CONTROL)
|
if ((c->flags & CLIENT_CONTROL) || (~c->tty.flags & TTY_OPENED))
|
||||||
break;
|
break;
|
||||||
server_client_update_latest(c);
|
server_client_update_latest(c);
|
||||||
old_sx = c->tty.sx;
|
old_sx = c->tty.sx;
|
||||||
|
|||||||
Reference in New Issue
Block a user