<AWT Dev> RFR: 8258788: incorrect response to change in window insets [lanai]

Sergey Bylokhov serb at openjdk.java.net
Thu Apr 1 15:21:26 UTC 2021

On Thu, 1 Apr 2021 14:38:52 GMT, Alexey Ushakov <avu at openjdk.org> wrote:

> Dynamically change MTLLayer insets depending on FULL_WINDOW_CONTENT property. MTLLayer.h header cleanup.

Is it possible to automatically test it?

src/java.desktop/macosx/native/libawt_lwawt/awt/AWTWindow.m line 1171:

> 1169:                         layer.leftInset = (jint)(screenContentRect.origin.x - frame.origin.x);
> 1170:                     }
> 1171:                 }

Can you check that it will work in the "new" tabbed mode on big sur as well? Probably it is possible to swap coordinates during rendering in the layer and get rid of this field?


PR: https://git.openjdk.java.net/jdk/pull/3308

More information about the awt-dev mailing list