xserver/hw
Rui Matos 10e9116b3f xwayland-input: Always set the xkb group index on modifiers events
While we have keyboard focus, the server's xkb code is already locking
and latching modifiers appropriately while processing keyboard
events.

Since there is no guaranteed order between wl_keyboard key and
modifiers events, if we got the modifiers event with a locked or
latched modifier and then process the key press event for that
modifier we would wrongly unlock/unlatch. To prevent this, we ignore
locked and latched modifiers while any of our surfaces has keyboard
focus.

But we always need to set the xkb group index since this might be
triggered programatically by the wayland compositor at any time.

Reviewed-by: Daniel Stone <daniels@collabora.com>
2015-09-29 12:21:34 -04:00
..
dmx dmx: fix typo in the title 2015-09-23 10:39:47 -04:00
kdrive kdrive: Remove dead debug arrays. 2015-09-23 15:17:22 -04:00
vfb xfixes: Unexport xfixes.h 2015-07-08 16:40:58 -04:00
xfree86 dri2: better checks for integer overflow in GetBuffers* 2015-09-24 13:47:01 -04:00
xnest Merge remote-tracking branch 'jturney/mingw-build-fixes' 2015-05-11 15:36:53 -07:00
xquartz dix: Restore PaintWindow screen hook 2015-07-08 16:41:28 -04:00
xwayland xwayland-input: Always set the xkb group index on modifiers events 2015-09-29 12:21:34 -04:00
xwin dix: Restore PaintWindow screen hook 2015-07-08 16:41:28 -04:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00