>
> That means that the modifiers state differs between event, which is
> unusual.
> When you press it receive { Mod1 } Shift_L, then you release it receive
> { Mod1, Shift } Shift_L.
>
Looks like X itself changes the shift status after processing the shift key
press/release event...On Wed, Feb 18, 2009 at 8:58 AM, Julien Danjou <[email protected]> wrote: > At 1234912697 time_t, dante4d wrote: > > So, key press combination of just modifiers works "somehow", but key > release > > doesn't. In principle, modkeys alone should be bindable as they generate > key > > events like any other key... > > I found why by adding some debug print: > W: awesome: event_handle_key:626: key event: type 2, detail 50 state 8 -> k > 0x11872d0 > W: awesome: event_handle_key:626: key event: type 3, detail 50 state 9 -> k > (nil) > > That means that the modifiers state differs between event, which is > unusual. > When you press it receive { Mod1 } Shift_L, then you release it receive > { Mod1, Shift } Shift_L. > > Cheers, > -- > Julien Danjou > // ᐰ <[email protected]> http://julien.danjou.info > // 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD > // Trust me. > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > > iEYEARECAAYFAkmbv7IACgkQpGK1HsL+5c2NrwCg3RCg31LPGxnV+ElR117qbudD > L5wAnjqJh/cd8ujC50QH0yF6oXRiKCWu > =Tj4e > -----END PGP SIGNATURE----- > >
