[xmonad] Configure eating of keys based on window class

Brandon Allbery allbery.b at gmail.com
Mon Feb 16 14:41:20 UTC 2015


On Mon, Feb 16, 2015 at 8:27 AM, Jiří Maršíček <jiri.marsicek at gmail.com>
wrote:

> I have tried to define this globaly by adding the following line to my
> keybindings:
>
>    ((0, xK_Super_L), return ())
>
> (As explained in
> https://mail.haskell.org/pipermail/xmonad/2012-February/012402.html
>
> )
>
> But this does not appear to work (key is still processed in the active
> window)
>

That would only work if vbox isn't already grabbing the keyboard, for
starters. I also suspect it won't work in some circumstances (if the
program is using the RECORD extension to watch for keys, or if the trigger
is modifier+normal key then it won't see the modifier press but it will
still show up in the modifier bitmask when the normal key is pressed).

Could you explain the actual problem you're trying to fix?

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/xmonad/attachments/20150216/9a1b011a/attachment.html>


More information about the xmonad mailing list