[PATCH weston v2] xwm: don't let X windows steal the focus

Bill Spitzak spitzak at gmail.com
Mon Mar 30 14:02:46 PDT 2015


Interesting. A bit odd because looking in xproto.h I can see that the 
same offset in the structure is called "window" or "drawable" in many 
other events. I guess this is because it is generated from xprotocol 
descriptions and the terminology cannot be changed there? But kind of 
unclear why such a wrong name would have been chosen there...

Anyway probably another indication of what a mess X is.

On 03/30/2015 11:53 AM, Daniel Stone wrote:

>> Is the window id really stored in focus->event?
>
> Yeah, the 'event' field of many X11 events (including literally all
> the input events) is set to the window the event was delivered to.
>
> Cheers,
> Daniel
>


More information about the wayland-devel mailing list