Find the topmost window under a mouse cursor
Alexander Scherbatiy
alexandr.scherbatiy at oracle.com
Tue Mar 27 01:08:47 PDT 2012
Hello,
Does the Mac OS X contains a method that allows to find the topmost
window under a mouse cursor?
There is the issue when a window is created under a mouse cursor or it
is moved under a mouse cursor the system does not generate the
NSMouseEntered event.
It is possible to synthetically generate the MouseEntered event for
window creation and moving in Java because we need that a window
behavior on Mac OS X was the same as on others platforms.
But it is necessary to have a way to know is this window the topmost
under a mouse cursor.
Thanks,
Alexandr.
More information about the macosx-port-dev
mailing list