Prevent control clients from affecting the session size until they have

specified a size with refresh-client -C. Prompted by a different change
with the same purpose from George Nachman.
This commit is contained in:
nicm
2017-05-10 16:48:36 +00:00
parent 9dc6946ebf
commit 2dc9bfd93a
3 changed files with 7 additions and 1 deletions

1
tmux.h
View File

@ -1345,6 +1345,7 @@ struct client {
#define CLIENT_STATUSFORCE 0x80000
#define CLIENT_DOUBLECLICK 0x100000
#define CLIENT_TRIPLECLICK 0x200000
#define CLIENT_SIZECHANGED 0x400000
int flags;
struct key_table *keytable;