aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorThomas <thomas@xteddy.org>2013-08-20 10:37:55 +0100
committerThomas <thomas@xteddy.org>2013-08-20 13:03:53 +0100
commitc103f2fbcbeb82019b694bed6869942bc1cbe966 (patch)
treedd862b67173024b72ad23a6c6df9577e1e8b2df0 /tmux.h
parentaa4920fea3dcdcaa0dbe4d373160195b1a3ca892 (diff)
downloadrtmux-c103f2fbcbeb82019b694bed6869942bc1cbe966.tar.gz
rtmux-c103f2fbcbeb82019b694bed6869942bc1cbe966.tar.bz2
rtmux-c103f2fbcbeb82019b694bed6869942bc1cbe966.zip
Clear window->flags when clearing winlinks
When clearing WINLINK_ALERTFLAGS for all sessions, we must also, for that window, clear the window->flags as well, otherwise sessions may well still see flags for winlinks long since cleared. This therfore introduces WINDOW_ALERTFLAGS to help with this.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index 6ab9861b..0a17f72b 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1005,6 +1005,7 @@ struct window {
#define WINDOW_REDRAW 0x4
#define WINDOW_SILENCE 0x8
#define WINDOW_ZOOMED 0x10
+#define WINDOW_ALERTFLAGS (WINDOW_BELL|WINDOW_ACTIVITY|WINDOW_SILENCE)
struct options options;