Re: [PATCH] Make RC_OTHER always choose some other

Sadrul Habib Chowdhury <[email protected]> Sun, 12 Oct 2008 14:50:11 -0400
Newsgroups gmane.comp.gnu.screen
Message-ID <20081012185011.GM29620__45720.9499124021$1238089086$gmane$org@localdomain>
* Sadrul Habib Chowdhury had this to say on [06 Oct 2008, 02:16:52 -0400]:
> * Sadrul Habib Chowdhury had this to say on [19 Sep 2008, 03:48:08 -0400]:
> > * Jeroen Roovers had this to say on [18 Sep 2008, 18:52:11 +0200]:
> > [snip]
> > > Sometimes when you do RC_OTHER, you get presented with "This IS window (n)."
> > > That's rather stupid as you didn't even ask for window n in the first place,
> > > but simply _some_ other window. -JeR
> > > 
> [snip]
> > Do you have a screenrc file
> > that can be used to easily reproduce the bug?
> > 
> 
> The following sequence of operations will reproduce the bug, both in the
> current development source and in the 4.0.3 release:
> 
> 	screen
> 	split
> 	screen
> 	screen
> 	focus
> 	select 2
> 	focus
> 	other
> 	kill
> 	focus
> 	other
> 
> I haven't had a chance to look for a proper fix, but a possible fix
> could be to recompute D_other after a 'focus' if D_fore becomes the same
> as D_other.
> 

Commit 3596923:
http://git.savannah.gnu.org/gitweb/?p=screen.git;a=commitdiff;h=35969236c0a24459e9b550578be7b36302190b3d

> > Sadrul