summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2020-04-18 07:32:53 +0000
committernicm <nicm@openbsd.org>2020-04-18 07:32:53 +0000
commitcd539c0959406a6f05dfcd091a2d566e0befafa1 (patch)
tree8f8d2ec761ccd767d2fd3bdf7c81ce2ff0c98a2c /usr.bin/tmux/tmux.h
parentAdd formats for pane written/skipped bytes for debugging. (diff)
downloadwireguard-openbsd-cd539c0959406a6f05dfcd091a2d566e0befafa1.tar.xz
wireguard-openbsd-cd539c0959406a6f05dfcd091a2d566e0befafa1.zip
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.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index 6d99000d581..042606a2520 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.1005 2020/04/18 07:19:29 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.1006 2020/04/18 07:32:54 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -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| \