[PATCH 1/3] xwayland: Fix input coordinates of non-decorated windows

Daniel Stone daniel at fooishbar.org
Tue Dec 5 14:28:19 UTC 2017

Hi Scott,

On 24 June 2017 at 08:18, Scott Moreau <oreaus at gmail.com> wrote:
> Windows without decorations drawn by the xwayland window manager had
> wrong input coordinates because weston_wm_window_get_child_position was
> giving wrong x/y offsets. Set the offsets to 0 for windows without
> system decorations.

I tried to untangle what was going on through xwm here and just tied
myself in a knot. It looks like this case would also need a similar
change in weston_wm_window_get_frame_size, right? That should be
relatively harmless (resulting in us setting larger regions than the
actual window size), but still the same thing.

This is all a bit of a mess, but it seems correct enough that, with
the get_frame_size() change as well, this would be:
Acked-by: Daniel Stone <daniels at collabora.com>


More information about the wayland-devel mailing list