Run key bindings on keyboard focus in
Run key bindings on keyboard focus in

This is mainly for X11's benefit; the common case is using Logo+S to
take a screenshot, where GNOME Shell has grabbed Logo, and replays the
event down to the nested compositor after S is pressed.  This means we
get an enter event with both Logo and S down, and even if Shell delivers
the key press event for S (which isn't mandatory, and not all window
managers do), then we never run the binding since notify_key realises
that S is already down and exits early.

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

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