Do binding modifier lookup on XKB state, not physical keys
authorDaniel Stone <daniel@fooishbar.org>
Wed, 30 May 2012 15:31:44 +0000 (16:31 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 31 May 2012 19:38:10 +0000 (15:38 -0400)
commite3f15edc2f7a760c898a3bcafc775f52f33e2d9b
tree2fd1fad81e56b565d590289ac3d823aecd82bf97
parent994679a20e64a017659296c5458a897d26226e35
Do binding modifier lookup on XKB state, not physical keys

When we update the modifier_state used for Weston bindings, derive this
from the XKB modifier state, rather than a hardcoded mapping of physical
keys to modifier state.

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