xserver/hw/xwayland
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
..
.gitignore Xwayland DDX 2014-04-03 15:19:22 -07:00
Makefile.am xwayland: Add dependency on glamor libs 2015-03-24 12:01:38 -07:00
drm.xml xwayland: Add glamor and DRI3 support 2014-06-24 15:09:55 -07:00
xwayland-cursor.c xwayland: call through to miPointerWarpCursor on warp_cursor 2015-09-18 14:55:00 +02:00
xwayland-cvt.c Xwayland DDX 2014-04-03 15:19:22 -07:00
xwayland-glamor.c glamor: add support for allocating linear buffers (v2) 2015-06-30 12:17:55 +10:00
xwayland-input.c xwayland-input: Always set the xkb group index on modifiers events 2015-09-29 12:21:34 -04:00
xwayland-output.c xwayland: do not add output into output_list multiple times 2015-09-25 15:24:22 +02:00
xwayland-shm.c xwayland: keep temp files out of the client mask 2015-06-25 14:11:35 +02:00
xwayland.c xwayland: Destroy xwl_output when wl_output gets removed 2015-09-25 15:22:18 +02:00
xwayland.h xwayland: Destroy xwl_output when wl_output gets removed 2015-09-25 15:22:18 +02:00