So I guess this is okay? Guys?


On Mon, Nov 22, 2010 at 10:56:50PM +0000, Nicholas Marriott wrote:
> Are you sure you tried the same thing? I can't make it crash with this
> on Linux.
> 
> 
> 
> On Sun, Nov 21, 2010 at 04:22:27PM +0000, Thomas Adam wrote:
> > On Sun, Nov 21, 2010 at 04:18:12PM +0000, Nicholas Marriott wrote:
> > > Does this fix it?
> > > 
> > > Index: window.c
> > > ===================================================================
> > > RCS file: /cvs/src/usr.bin/tmux/window.c,v
> > > retrieving revision 1.58
> > > retrieving revision 1.59
> > > diff -u -p -r1.58 -r1.59
> > > --- window.c      23 Oct 2010 13:04:34 -0000      1.58
> > > +++ window.c      14 Nov 2010 08:58:25 -0000      1.59
> > > @@ -325,6 +325,8 @@ window_resize(struct window *w, u_int sx
> > >  void
> > >  window_set_active_pane(struct window *w, struct window_pane *wp)
> > >  {
> > > + if (wp == w->active)
> > > +         return;
> > >   w->last = w->active;
> > >   w->active = wp;
> > >   while (!window_pane_visible(w->active)) {
> > > @@ -342,7 +344,7 @@ window_set_active_at(struct window *w, u
> > >   struct window_pane      *wp;
> > >  
> > >   TAILQ_FOREACH(wp, &w->panes, entry) {
> > > -         if (!window_pane_visible(wp))
> > > +         if (wp == w->active || !window_pane_visible(wp))
> > >                   continue;
> > >           if (x < wp->xoff || x >= wp->xoff + wp->sx)
> > >                   continue;
> > > 
> > 
> > Ah -- I tried this myself -- unfortunately not.  Still the same crash.
> > 
> > -- Thomas Adam
> > 
> > -- 
> > "Deep in my heart I wish I was wrong.  But deep in my heart I know I am
> > not." -- Morrissey ("Girl Least Likely To" -- off of Viva Hate.)

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to