state: call xkb_filter_new from the dispatcher
authorRan Benita <ran234@gmail.com>
Fri, 14 Sep 2012 12:33:54 +0000 (15:33 +0300)
committerRan Benita <ran234@gmail.com>
Fri, 14 Sep 2012 18:09:49 +0000 (21:09 +0300)
commit2c19c9388beafe836beb5223e5d7429f7a2381ab
tree8fb70edbf16148f20851361600e60028cb9db5eb
parent04f1b3be07ff838f419c1397eff0716d33d9a695
state: call xkb_filter_new from the dispatcher

Pass the new filter as a parameter instead of getting a new one in each
action function, and introducing a failure condition there.

Signed-off-by: Ran Benita <ran234@gmail.com>
src/state.c