[xmonad] CycleWS.toggleWS bug?
Brent Yorgey
byorgey at seas.upenn.edu
Wed Sep 16 10:04:27 EDT 2009
On Wed, Sep 16, 2009 at 12:48:10PM +0200, Nils wrote:
> On Wed, Sep 16, 2009 at 08:32:29PM +1000, Alexey Feigin wrote:
> > What if there are no hidden workspaces? Would the empty list exception be
> > caught somewhere?
>
> Yes, XMonad does some exception handling here, so this won't cause any
> damage.
>
> It would be different if sth like that would be found in for example
> manage hooks. I just tried my config with just one single workspace, and
> the "doF (W.shift $ myWorkspaces !! 5)" did indeed cause XMonad to crash
> completly.
Yikes! If you can make xmonad crash, it is a bug. Why are
managehooks different? How can we prevent bogus managehooks from
crashing xmonad?
-Brent
More information about the xmonad
mailing list