提交 3793816a 编写于 作者: K kizune

7173487: closed/java/awt/Frame/RemoveNotifyTest/RemoveNotifyTest.html

Reviewed-by: anthony, dcherepanov, serb
上级 abc6a316
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册