compositor-x11: Attempt to track state without XKB
compositor-x11: Attempt to track state without XKB

This isn't very pleasant, but it's pretty much the best we can do in the
absence of either XCB XKB support, or XCB XI2 bindings (argh!).

We get a state mask with most significant X11 events (which inexplicably
includes EnterNotify but not FocusIn), but unfortunately it's only a
single flat set of effective modifiers rather than the more granular
sets we want, so we still update the state with every key, but then also
use the core X11 state as a mask to make sure we don't get any stuck
modifiers.

Ugh.

Signed-off-by: Daniel Stone <3d0f3b9ddcacec30c4008c5e030e6c13a478cb4f@fooishbar.org>

krezovic/weston,kwm81/weston,Fantu/compositor-spice,xorgy/weston,Tarnyko/weston-xdg_surface_present,udoprog/weston,Fantu/compositor-spice,jonnylamb/weston,giucam/weston,sir-murray/weston,mchalupa/weston,sir-murray/weston,udoprog/weston,jonnylamb/weston,Tarnyko/weston-xdg_surface_present,Fantu/compositor-spice,Gnurou/weston,eyolfson/weston,xorgy/weston,eyolfson/weston,Gnurou/weston,krezovic/weston,giucam/weston,kwm81/weston,mchalupa/weston