On Mon, Aug 01, 2011 at 05:55:25PM +0200, Aurélien Aptel wrote:
> On Mon, Aug 1, 2011 at 1:34 PM, anonymous <p37si...@lavabit.com> wrote:
> > I think my patch is better.  There is no special case for 0 mask and state
> > and when we match for Ctrl and Shift it works only when they both are
> > pressed.  With your patch it will work for Ctrl only or for Shift only.
> 
> When a key in config.h has mask = 0 it's matched with <any modifier>,
> not <no modifier>.

With my patch it is matched with any modifier too, because (key & 0) == 0.


Reply via email to