[PATCH] xwayland-input: Don't assume all input is children of the focused window

Olivier Fourdan ofourdan at redhat.com
Fri Feb 20 10:19:17 PST 2015

Hi Jasper,

On 20/02/15 18:05, Olivier Fourdan wrote:
> Hi
> Sorry, I probably didn't express myself correctly here. What I've been
> trying to say is:
>   - The patch does not work for me, it makes things worse than before,
> the X window field is not consistent depending on where the event
> occurs. So it works with some menus, but other mouse events won't work
> anymore.

I just tried with weston from git, along with the xserver from git as 
well with the patch applied and I have the same problem as with mutter, 
ie some menu will work but others won't (those closer to the right end 
of the window), and other mouse events won't work anymore, e.g.. I 
cannot move the window.

Does it work for you? Am I alone seeing this with the patch applied, 
this is weird... For the record, I'm trying with gtk apps using the x11 

I'll try to investigate further on Monday hopefully :-)

>   - That patch requires a change in Mutter (the cow part), I'd rather
> not require this and adapt the behavior of Xwayland depending if the cow
> is mapped or not (Weston was just an example, there are other Wayland
> compositor out there).


More information about the xorg-devel mailing list