[Xmonad] possible bug in tabbed window extension

Don Stewart dons at galois.com
Sat Oct 6 06:34:43 EDT 2007


j:
> On 2007-10-05 12:52:05 Andrea Rossato wrote:
> > On Fri, Oct 05, 2007 at 02:48:29AM -0700, Michael Vanier wrote:
> > >  I've just upgraded to the latest xmonad in darcs, and it's great!
> > > However, one thing that used to work doesn't work anymore.  I bind
> > > mod-button3 to the kill command, and when I put the cursor on a tab
> > > and hit mod-button3 the entire X server crashes!  When I do it
> > > outside of a tab it works fine. FWIW the relevant part of my
> > > Config.hs is:
> > > 
> > [...]
> > >  Anybody have any idea what's going wrong?
> > 
> > yes, a stupid assumption I made when using fromJust a bit too
> > liberally.
> 
> I wonder: would it be feasible to sandbox layouts (and other 'user'
> code) somewhat, so that a bug like this would perhaps just cause Xmonad
> to switch to Full rather than blowing away the session? It would make
> experimenting a bit less troublesome.
> 

Good point, can you please add a ticket for this. With pure layouts,
this should really be prevented. And don't use fromJust, Andrea. Partial
functions are evil, when people's data is at stake.

-- Don


More information about the Xmonad mailing list