Bind action to meta key clicked by itself?

Hello, 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? Thanks - John

On Sat, Aug 27, 2011 at 20:23, John Mastro
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@gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms
participants (2)
-
Brandon Allbery
-
John Mastro