[PATCH v2 xserver] xkb: fix releasing overlay while keydown

Mihail Konev k.mvc at ya.ru
Sat Nov 5 19:09:13 UTC 2016


On Sun, Nov 06, 2016 at 12:03:47AM +0500, Mihail Konev wrote:
> +            if (overlay_enabled)
> +                overlay_keys[which_overlay][(unsigned char)key] = behavior.data;
> +            else
> +                behavior_data = overlay_keys[which_overlay][(unsigned char)key];
> +
Must be [which_overlay-1].


More information about the xorg-devel mailing list