uterm: uxkb: fix correctly resetting input state
authorDavid Herrmann <dh.herrmann@googlemail.com>
Tue, 14 Aug 2012 20:47:34 +0000 (22:47 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Tue, 14 Aug 2012 20:47:34 +0000 (22:47 +0200)
commit5aade75f3deca38882936be9030022b43e91ae3b
tree6a2d292e6eab4abdd1f2081006c779161fdf7043
parentb697fcd43c32c2ef9090b89d73446e0d2caef701
uterm: uxkb: fix correctly resetting input state

We currently have a very subtle bug when modifiers are pressed while
leaving a terminal but released while entering. The internal state will
not be updated and as xkbcommon does not fix this up, we need to recreate
the state when re-entering the terminal.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/uterm_input_uxkb.c