[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmonad
Subject:    Re: [xmonad] xmodmap -e "clear mod2" is killing my xmonad mod key
From:       Brandon Allbery <allbery.b () gmail ! com>
Date:       2013-02-04 17:15:04
Message-ID: CAKFCL4WFdhefTEXQjwwW_X9VNJj=a5UV7kyZN2xfb19g1C+hQg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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

[Attachment #5 (text/html)]

<div dir="ltr">On Mon, Feb 4, 2013 at 10:53 AM, adam vogt <span dir="ltr">&lt;<a \
href="mailto:vogt.adam@gmail.com" target="_blank">vogt.adam@gmail.com</a>&gt;</span> \
wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 \
0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div class="im">The False in \
there makes xmonad skip this code in XMonad/Main.hsc. It</div> might be a bug that \
your situation isn&#39;t handled properly.<br> <br>
-- set keyboard mapping<br>
handle e@(MappingNotifyEvent {}) = do<br>
      io $ refreshKeyboardMapping e<br>
      when (ev_request e `elem` [mappingKeyboard, mappingModifier]) $ do<br>
            setNumlockMask<br>
            grabKeys<br></blockquote><div><br></div><div>fwiw I don&#39;t see why \
this (or ensuing operations, notably cleanMask) would fail.   Might be worth trying \
DebugKeyEvents to see what&#39;s going on?</div><div><a \
href="http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Hooks-DebugKeyEvents.html">h \
ttp://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Hooks-DebugKeyEvents.html</a></div>
 <div><br></div></div>-- <br><div dir="ltr"><div>brandon s allbery kf8nh              \
sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" \
target="_blank">allbery.b@gmail.com</a>                                               \
<a href="mailto:ballbery@sinenomine.net" \
target="_blank">ballbery@sinenomine.net</a></div> <div>unix, openafs, kerberos, \
infrastructure, xmonad            <a href="http://sinenomine.net" \
target="_blank">http://sinenomine.net</a></div></div> </div>



_______________________________________________
xmonad mailing list
xmonad@haskell.org
http://www.haskell.org/mailman/listinfo/xmonad


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic