Does this work if you programmatically resize the window
after initial display ?
Nit : 42 if(parentFrame.isTargetUndecorated() &&
"if(" -> "if (".
Also use corrected spelling when for the synopsis in the commit.
-phil.
On 04/18/2017 09:12 AM, Semyon Sadetsky wrote:
Hello,
Please review fix for JDK9:
bug: https://bugs.openjdk.java.net/browse/JDK-8178905
webrev: http://cr.openjdk.java.net/~ssadetsky/8178905/webrev.00/
When an undecorated window is initialized Gnome3 WM does not send the
ConfigureNotify event which is must in the Linux AWT implementation to
establish the correct frame content size.
The suggested fix introduces a check for the frame content was
initialized upon the Expose notification and updates the content
bounds if necessary.
--Semyon