On 20. Jun 2022, 03:02 +0200, Po Lu <luangruo@yahoo.com>, wrote:
Gerd Möllmann <gerd.moellmann@gmail.com> writes:

Why the window pointer is needed in EmacsScroller at all escapes me,
ATM. Someone who knows nsterm.c should probably check if it is needed.

It's the scroll bar class, and naturally needs a reference to the window
it scrolls. Otherwise, how will it set ie.frame_or_window in
sendScrollEventAtLoc?

Ah, I see.  Thanks.