Invert LookupModMask/LookupVModMask order
authorDaniel Stone <daniel@fooishbar.org>
Mon, 20 Feb 2012 17:07:48 +0000 (17:07 +0000)
committerDaniel Stone <daniel@fooishbar.org>
Mon, 20 Feb 2012 17:07:48 +0000 (17:07 +0000)
commit11ea079175289f272564eb2ef3be31716b6b0112
tree5e5e90e6a4f1c2f428129b0da3b4910cc94efc32
parent1a2f2556ddd002c781958d5388c7d7c44501e923
Invert LookupModMask/LookupVModMask order

We never want to solely lookup a virtual modifier without also looking
up core modifiers.  So, rather than chaining the vmod lookup inside the
core modifier lookup, invert the ordering.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
src/xkbcomp/expr.c
src/xkbcomp/expr.h
src/xkbcomp/vmod.c