On Fri, 14 Apr 2023 19:43:29 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:

>> I did what you suggested to `X11GraphicsDevice.bounds`; please, take a look.
>> 
>> As for insets, it is more complicated because they may change without 
>> `displayChanged()` being called; this happens when, for example, the size of 
>> the dock bar changes. We are notified of the `_NET_WORKAREA` property change 
>> for the root window that is not accompanied by the ConfigureNotify event. 
>> I'm reluctant to send `displayChanged()` in this case; it seems like an 
>> overkill for a change in the work area.
>
> II suggest to check how it works on win/mac, does we trigger displayChanged 
> in that case?

Even if we skip displayChanged, it is better to inject the field to the GC, and 
update it on demand, in as similar way the displayChanged is implemented.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13346#discussion_r1167229692

Reply via email to