[xmonad] Bind action to meta key clicked by itself?

Brandon Allbery allbery.b at gmail.com
Sun Aug 28 02:46:20 CEST 2011


On Sat, Aug 27, 2011 at 20:23, John Mastro <john.b.mastro at gmail.com> wrote:

> Is it possible to bind an action to when the meta key (in my case the
> "Windows key") is pressed by itself in addition to combinations / sequences
> it's a part of?
>

Theoretically, yes; you would use modifier 0 and look up the XK_* value for
the modifier key  In practice, the X server might behave somewhat oddly
because the passive grab on the modifier key might interfere with the
passive grabs on the modifier+key combinations.

-- 
brandon s allbery                                      allbery.b at gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20110827/1ee012b1/attachment.htm>


More information about the xmonad mailing list