Don't clear real mods in action modmask
authorDaniel Stone <daniel@fooishbar.org>
Wed, 21 Mar 2012 02:17:58 +0000 (02:17 +0000)
committerDaniel Stone <daniel@fooishbar.org>
Wed, 21 Mar 2012 02:17:58 +0000 (02:17 +0000)
commit1afc6fca4d05f9aae1723f76ab889161f3cf4866
treee90cb700ea6830a32496ee8552ad968f706e0327
parentf44eed3e9ad366c816a90d749a5f3bde9239119e
Don't clear real mods in action modmask

Previously, we would clear out the real modmask when updating the
modmask for action maps, if not using the key's modmask.  The correct
behaviour here is instead to use the key's modmask if using the modmap,
else use the real mods provided with the action originally.

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