action: unify SetLatch and Lock handler functions
authorRan Benita <ran234@gmail.com>
Sun, 16 Feb 2014 16:32:44 +0000 (18:32 +0200)
committerRan Benita <ran234@gmail.com>
Sun, 16 Feb 2014 16:39:31 +0000 (18:39 +0200)
commit1fa7d6d3ab5b10e5b399f190245248ec50c94af7
treee291516e46391730e507aa033dd63385372c09eb
parentaf75353a88b07d13aed15ff93ee7859ab3416b60
action: unify SetLatch and Lock handler functions

This is a little shorter and follows easier from the spec flag
description table.
Also a few were too permissive (like allowing LatchToLock in SetMods).

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