[PATCH weston] input: don't send to clients key events eaten by bindings

Bill Spitzak spitzak at gmail.com
Wed Oct 8 15:53:42 PDT 2014


On 10/08/2014 03:25 PM, Jasper St. Pierre wrote:

>     I was under the impression that what the client got was an xkb state
>     that showed that the keys were held down. Actual events caused by
>     pressing keys were different and distinguishable by the client.
>
> X clients cannot distinguish between the two.

Okay I must not understand what you are doing. An X client can easily 
distinguish between KeymapNotify and KeyPress events!

> Too bad. We cannot go back in time 40 years and redesign X11 to be how
> you want it. We wouldn't be here in the first place if we could.

Huh? What I want is how X and Windows and OS/X work right now!

I suspect I have misunderstood what you are trying to do since this is 
making no sense to me. I thought this patch was to remove the fact that 
the key is held down in the xkb info being sent when the client gets 
keyboard focus. All I can guess is that you are doing something else but 
I am not clear what, since it is already true that the client does not 
get key press events.



More information about the wayland-devel mailing list