On Mon, 23 Jun 2025 07:43:39 GMT, Johan Vos <j...@openjdk.org> wrote:

>> modules/javafx.graphics/src/main/java/com/sun/glass/ui/headless/HeadlessWindow.java
>>  line 294:
>> 
>>> 292:     private void notifyResizeAndMove(int x, int y, int width, int 
>>> height) {
>>> 293:         HeadlessView view = (HeadlessView) getView();
>>> 294:         //   if (getWidth() != width || getHeight() != height) {
>> 
>> Why is this code commented out?
>
> There was a failing test, so it turns out there is an implicit contract that 
> even if a resize is requested without different w/h parameters, at least the 
> even should still be generated.

should we either add a comment or clean up (or both) then?

-------------

PR Review Comment: https://git.openjdk.org/jfx/pull/1836#discussion_r2172815759

Reply via email to