[PATCH] weston: Filter keys by id bit
Bill Spitzak
spitzak at gmail.com
Thu Jun 13 13:58:07 PDT 2013
Martin Minarik wrote:
> The way to verify this:
> 1. press A on keyboard 1
> 2. press A on keyboard 2
> 3. release A on keyboard 1
> 4. release A on keyboard 2
>
> The actual sequence:
>
> [2134420.1337] -> wl_keyboard at 39.key(2316, 899782584, 30, 1)
> [2134421.1337] -> wl_keyboard at 39.key(2316, 899782584, 30, 1)
> [2134422.1337] -> wl_keyboard at 39.key(2316, 899782584, 30, 0)
> [2134423.1337] -> wl_keyboard at 39.key(2316, 899782584, 30, 0)
>
> The correct sequence - after applying this patch:
>
> [2134420.1337] -> wl_keyboard at 39.key(2316, 899782584, 30, 1)
> [2134423.1337] -> wl_keyboard at 39.key(2316, 899782584, 30, 0)
Sorry I completely cannot figure out any reason the client can't do this
filtering. And I suspect there are clients who would want to see the
multiple events.
More information about the wayland-devel
mailing list