From c5dbec9e856602e7b10a5e8f8e5f70585096ffb8 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 3 Jun 2009 07:51:24 +0000 Subject: 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. --- tmux.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tmux.h') 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; -- cgit v1.2.3