Re: [PATCH] Don't send focus events to dead panes

2013-04-21 Thread Nicholas Marriott
Applied, thanks! On Sat, Apr 20, 2013 at 07:24:03PM +0200, Romain Francoise wrote: > When `remain-on-exit' is set and the terminal supports focus reporting, > tmux 1.8 sometimes crashes because it uses the bufferevent of a dead pane > in server_client_check_focus(). > > There's already a check i

[PATCH] Don't send focus events to dead panes

2013-04-20 Thread Romain Francoise
When `remain-on-exit' is set and the terminal supports focus reporting, tmux 1.8 sometimes crashes because it uses the bufferevent of a dead pane in server_client_check_focus(). There's already a check in server_client_check_resize(), so just move it to the caller loop to handle both cases at the