Bring back previons fix to only redraw panes that need it after a redraw

is deferred, but clear the pane flags when they are actually redrawn
rather than every time.
This commit is contained in:
nicm
2020-04-18 07:32:53 +00:00
parent e153b928ff
commit b0a37e7514
4 changed files with 23 additions and 11 deletions

4
tmux.h
View File

@ -1542,12 +1542,14 @@ struct client {
#define CLIENT_CONTROL_NOOUTPUT 0x4000000
#define CLIENT_DEFAULTSOCKET 0x8000000
#define CLIENT_STARTSERVER 0x10000000
#define CLIENT_REDRAWPANES 0x20000000
#define CLIENT_ALLREDRAWFLAGS \
(CLIENT_REDRAWWINDOW| \
CLIENT_REDRAWSTATUS| \
CLIENT_REDRAWSTATUSALWAYS| \
CLIENT_REDRAWBORDERS| \
CLIENT_REDRAWOVERLAY)
CLIENT_REDRAWOVERLAY| \
CLIENT_REDRAWPANES)
#define CLIENT_UNATTACHEDFLAGS \
(CLIENT_DEAD| \
CLIENT_SUSPENDED| \