I'm really not a programmer, but I can maybe help with English translation.
On Mon, Apr 4, 2022, 9:53 PM Wolfgang Koenig <dmarc-noreply@xxxxxxxxxxxxx>
wrote:
Thomas,
since I had no internet connection - the cable has been bitten through by
a rodent (mouse), this problem had to be treated as a priority.
I have so far installed HAIKU via 'balenaEtcher' on a
128 gb USB stick.
When it runs there, I leave this stick and then change the startup row fog
on ads USB stick when starting with F2 (ASUS).
With kind regards
Wolfgang
---- Am So, 03 Apr 2022 19:50:19 +0800 *Po Lu
<dmarc-noreply@xxxxxxxxxxxxx <dmarc-noreply@xxxxxxxxxxxxx>>* schrieb ----
Emacs provides a Lisp function called `mouse-position', which returns
the window (in Emacs parlance, a frame) the mouse is currently under, if
it was created by Emacs.
Implementing this function correctly on Haiku requires a way to find the
window underneath the mouse pointer, but I don't see how to get that
information.
It would be nice if a function to obtain that window was added to the
interface kit. Perhaps it would be named BApplication::GetWindowAtPoint
(BPoint), and return the BWindow underneath a given point (or the mouse
pointer location) if it was created by the calling application, or NULL
if it was not.
Thanks in advance.