summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-06-03 07:51:24 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-06-03 07:51:24 +0000
commitc5dbec9e856602e7b10a5e8f8e5f70585096ffb8 (patch)
tree86359cd505db677460529f8ac7b2ec7505eb753d /tmux.h
parent646cfa6983fe739fbb5a908fcc412ae415248a9f (diff)
When swapping pane positions, swap the PANE_HIDDEN flag as well, otherwise tmux
crashes when trying to find the new active pane. While here, nuke an unused pane flag. Fixes PR 6160, reported by and a slightly different version of diff tested by ralf.horstmann at gmx.de.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/tmux.h b/tmux.h
index a2d5f0da..0c8e5929 100644
--- a/tmux.h
+++ b/tmux.h
@@ -589,8 +589,7 @@ struct window_pane {
int flags;
#define PANE_HIDDEN 0x1
-#define PANE_RESTART 0x2
-#define PANE_REDRAW 0x4
+#define PANE_REDRAW 0x2
char *cmd;
char *cwd;