On Mon, Feb 4, 2013 at 10:53 AM, adam vogt <vogt.adam@gmail.com> wrote:
The False in there makes xmonad skip this code in XMonad/Main.hsc. It
might be a bug that your situation isn't handled properly.

-- set keyboard mapping
handle e@(MappingNotifyEvent {}) = do
    io $ refreshKeyboardMapping e
    when (ev_request e `elem` [mappingKeyboard, mappingModifier]) $ do
        setNumlockMask
        grabKeys

fwiw I don't see why this (or ensuing operations, notably cleanMask) would fail.  Might be worth trying DebugKeyEvents to see what's going on?
http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Hooks-DebugKeyEvents.html

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net