[Xmonad] "Empty" KeyMask: 0 vs AnyModifier vs ...?

Andy Gimblett A.M.Gimblett at swansea.ac.uk
Fri Apr 27 10:05:09 EDT 2007


On Fri, Apr 27, 2007 at 03:08:01AM -0700, Daniel Wagner wrote:
> 
> I think "none" is the magic word here, but I'm not sure:
>     , ((none, xK_F2), spawn "urxvt")
> (none is defined in X11-extras, so you may have to import something 
> special, I haven't really tested this.)

Yep - that's absolutely right, and works as advertised, given:

    import Graphics.X11.Xlib.Extras (none)

Thanks, Daniel!

-Andy

-- 
Andy Gimblett
Computer Science Department
University of Wales Swansea
http://www.cs.swan.ac.uk/~csandy/


More information about the Xmonad mailing list