[PATCH] xwayland-input: Remove our XYToWindow handler

Olivier Fourdan ofourdan at redhat.com
Mon Feb 23 06:46:55 PST 2015


On 21/02/15 20:53, Jasper St. Pierre wrote:
> This was built as a hack for simple Wayland compositors like Weston
> which were lazy and didn't want to configure windows server-side when
> moved.
>
> Since comboboxes and menus are separate toplevel O-R windows, this hack
> breaks input as it needs to be traced normally, not simply sent to the
> focused window.
>
> X11 toolkits really do need their windows to be configured correctly
> for their O-R windows comboboxes or menus other things, so let's fix
> the lazy compositors and remove this.
>
> I have tested this patch with both Weston and Mutter and neither of
> them require any changes, and it fixes comboboxes and menus.
>
> If somebody then wants to revert 73698d4, that's fine by me, so we
> reduce the amount of API that DDXen have.
>
> Signed-off-by: Jasper St. Pierre <jstpierre at mecheye.net>
> ---

That one works for me, the problem I had with the previous patch was 
precisely that it did not need coordinates translations.

Cheers,
Olivier


More information about the xorg-devel mailing list