<AWT Dev> [9] Review request for 8020443: Frame is not created on the specified GraphicsDevice with two monitors
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Wed Jan 29 03:32:18 PST 2014
Hi, Oleg.
The fix looks good.
On 21.01.2014 18:31, Oleg Pekhovskiy wrote:
> Hi all,
>
> please review the fix
> http://cr.openjdk.java.net/~bagiras/8020443.1/
> for
> https://bugs.openjdk.java.net/browse/JDK-8020443
>
> Referring to the standards, we must calculate insets the special way
> for Xinerama:
> http://standards.freedesktop.org/wm-spec/1.3/ar01s05.html
>
> _NET_WM_STRUT_PARTIAL
> "The start and end values associated with each strut allow areas to be
> reserved which do not span the entire width or height of the screen.
> Struts MUST be specified in root window coordinates, that is, they are
> /not/ relative to the edges of any view port or Xinerama monitor."
>
> So the fix checks if the insets have absolute values and if so makes
> them relative to each screen.
> The issue occurred when the Frame was created with the location by
> default.
>
> Thanks,
> Oleg
>
--
Best regards, Sergey.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20140129/db3a1b83/attachment.html
More information about the awt-dev
mailing list