[PATCH xserver 2/4 v3] xwayland: add a server sync before repeating keys
Daniel Stone
daniel at fooishbar.org
Fri Apr 1 10:12:52 UTC 2016
Hi,
On 9 March 2016 at 09:31, Olivier Fourdan <ofourdan at redhat.com> wrote:
> @@ -748,6 +783,9 @@ seat_handle_capabilities(void *data, struct wl_seat *seat,
> ActivateDevice(xwl_seat->keyboard, TRUE);
> }
> EnableDevice(xwl_seat->keyboard, TRUE);
> + master = GetMaster(xwl_seat->keyboard, MASTER_KEYBOARD);
> + if (master)
> + master->key->xkbInfo->checkRepeat = keyboard_check_repeat;
This needs to be done on xwl_seat->keyboard as well: both devices
generate events. You can see this with 'xinput test'.
Cheers,
Daniel
More information about the xorg-devel
mailing list