[PATCH weston] input: don't send to clients key events eaten by bindings
Bill Spitzak
spitzak at gmail.com
Thu Nov 13 12:51:16 PST 2014
On 11/13/2014 01:53 AM, Daniel Stone wrote:
> wl_keyboard::enter sends the list of currently-depressed keys to the
> client. If we make it a partial list, depending on context, we make it
> useless. We'll send releases for keys the client never knew were down -
> which is _exactly_ the problem this event is trying to prevent.
>
> If we're making it an arbitrary list depending on whether it was a
> compositor hotkey, or depending on how you're nested, the event becomes
> useless as a guarantee and we might as well just drop it completely.
>
> Cheers,
> Daniel
Thank you for stepping in on this. This is what I have been trying to
say for quite a while, though I admit I would use the wrong terms a lot
and may have confused things. I believe you are clearly stating what my
objection to this patch is.
More information about the wayland-devel
mailing list