compositor-wayland: Synchronise keyboard state with parent
authorDaniel Stone <daniel@fooishbar.org>
Fri, 22 Jun 2012 12:21:41 +0000 (13:21 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 22 Jun 2012 15:52:07 +0000 (11:52 -0400)
commit5069280d29e7e210868b64c16daf110d761b84cb
tree94da76261ccf2677587e83c8ffe0572637a9dc30
parent154c34c8511b73d88ea0f86c23d97e085032d918
compositor-wayland: Synchronise keyboard state with parent

Use the wl_keyboard::modifiers events our parent helpfully sends us to
make sure our views of the keyboard state are always identical, rather
than relying on key press events to do the right thing.

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