[Xmonad] darcs patch: simplify StackSet.delete

David Roundy droundy at darcs.net
Tue Jun 26 10:10:29 EDT 2007


On Tue, Jun 26, 2007 at 01:47:06PM +1000, Donald Bruce Stewart wrote:
> > Yes, that's what it relies on, which filter currently does.  It seems
> > better to enforce this in filter, so there'd be just one piece of code
> > defining the desired semantics.
> 
> I like this idea, but this does actually change the focus semantics for
> the 'else up' case. Try deleting the last window in a stack. Focus will
> move to master, not 'up'. I will add a QC test to check the desired
> semantics, so changes like this would be caught.

Any reason not to give filter the desired semantics? I don't see how its
single current use could be affected in a meaningful way.
-- 
David Roundy
http://www.darcs.net


More information about the Xmonad mailing list