diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-06-03 07:51:24 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-06-03 07:51:24 +0000 |
commit | c5dbec9e856602e7b10a5e8f8e5f70585096ffb8 (patch) | |
tree | 86359cd505db677460529f8ac7b2ec7505eb753d /tmux.h | |
parent | 646cfa6983fe739fbb5a908fcc412ae415248a9f (diff) | |
download | rtmux-c5dbec9e856602e7b10a5e8f8e5f70585096ffb8.tar.gz rtmux-c5dbec9e856602e7b10a5e8f8e5f70585096ffb8.tar.bz2 rtmux-c5dbec9e856602e7b10a5e8f8e5f70585096ffb8.zip |
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.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |