state: don't keep the previous state components in xkb_state
authorRan Benita <ran234@gmail.com>
Sun, 11 Nov 2012 14:06:54 +0000 (16:06 +0200)
committerRan Benita <ran234@gmail.com>
Sun, 11 Nov 2012 14:09:05 +0000 (16:09 +0200)
commit7372c9f181b0a6079aaf885be0bc4582d9615da4
treeae9e818c2c2f9203a39af4b52fe5e8c65ffdd6cf
parent60bd92021b63ecd3f8396704c841a0bf0fdab72b
state: don't keep the previous state components in xkb_state

There is really no need to keep this in the struct, we can just allocate
it on the stack when we need to.
Don't know why I did it this way.

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