mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-25 01:30:10 +00:00
7173487: closed/java/awt/Frame/RemoveNotifyTest/RemoveNotifyTest.html
Reviewed-by: anthony, dcherepanov, serb
This commit is contained in:
parent
0494bcb19c
commit
663f9df53e
@ -361,9 +361,11 @@ public class LWCToolkit extends LWToolkit {
|
||||
CWrapper.NSObject.release(screen);
|
||||
}
|
||||
// Convert between Cocoa's coordinate system and Java.
|
||||
return new Insets(fullScreen.height - workArea.height - workArea.y,
|
||||
workArea.x, workArea.y,
|
||||
fullScreen.width - workArea.width - workArea.x);
|
||||
int bottom = workArea.y - fullScreen.y;
|
||||
int top = fullScreen.height - workArea.height - bottom;
|
||||
int left = workArea.x - fullScreen.x;
|
||||
int right = fullScreen.width - workArea.width - left;
|
||||
return new Insets(top, left, bottom, right);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user