[PATCH 2/3] xwayland: Shape window region to clip shadow area from input

Scott Moreau oreaus at gmail.com
Sat Dec 23 01:36:12 UTC 2017


On Tue, Dec 5, 2017 at 7:31 AM, Daniel Stone <daniel at fooishbar.org> wrote:

> Hi Scott,
>
> On 24 June 2017 at 08:18, Scott Moreau <oreaus at gmail.com> wrote:
> > Decorated windows were getting the size of the window including the
> > shadow which is correct, but causing some confusion for motion input
> > events. This was exhibited when one xwayland window overlaps another,
> > hovering over the window beneath recieves no events if within the 32
> > pixel shadow border area of the window above.
>
> Seems correct, but can't this just use frame_input_rect() instead of
> hard-coding the sizes?
>

Yes it can, which is what we're discussing at
https://lists.freedesktop.org/archives/wayland-devel/2017-December/036402.html
Ian's patch fixes this problem.


>
> Cheers,
> Daniel
>

Thanks,
Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20171222/717fada7/attachment.html>


More information about the wayland-devel mailing list