[PATCH 2/3 v2] oleacc: Add AccessibleObjectFromPoint implementation.

Alex Henrie alexhenrie24 at gmail.com
Thu Nov 25 21:50:55 CST 2021


On Thu, Nov 25, 2021 at 4:11 PM Connor McAdams <conmanx360 at gmail.com> wrote:
>
> On Thu, Nov 25, 2021 at 4:00 PM Alex Henrie <alexhenrie24 at gmail.com> wrote:
> >
> > +    while (1)
> >
> > Why the loop?
>
> It is because you have to 'drill' for focus, see
> https://chromium.googlesource.com/chromium/src/+/refs/heads/main/ui/accessibility/platform/ax_platform_node_win.cc#835
> for an example. Essentially, you have to keep calling accHitTest until
> you retrieve the actual object at the given point, and not the object
> it's contained within.

Ah, I see. Thanks.

-Alex



More information about the wine-devel mailing list