diff options
author | Sven Gothel <[email protected]> | 2020-01-02 04:44:19 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-01-02 04:44:19 +0100 |
commit | 999e1ca3ec1a406d3dba65f0bae79054580fb287 (patch) | |
tree | 5e0d8cb6d40ad9c4a51b3e5bff74e6b6518601e9 /src/demos/com | |
parent | ef2600134f07902dd32cf6524d9c947bdc915b45 (diff) |
Bug 1393: MacOS: getLocationOnScreen w/ JAWT Parent: Use parent's unblocking specialization
On MacOS, commit 12eed5d38616d23b6e8e2e5b497dfc2f54d90c90 replaced all
parent.getLocationOnScreen(..) calls with OSXUtil.GetLocationOnScreen(parentHandle, ..)
avoiding the EDT + Appkit Deadlock with native parenting.
On MacOS AWT and JAWT are using offscreen CALayer since Java >= 1.7.0,
therefor the MacOSXJAWTWindow's native window handle can't be used to gather
the screen position via OSXUtil.
However, the JAWT Window specialization MacOSXJAWTWindow implements a non-locking code-path
and we can decide to use it by querying the general interface OffscreenLayerOption.
Diffstat (limited to 'src/demos/com')
0 files changed, 0 insertions, 0 deletions