Hi Dan,

am I right that your are going to fix our code so it correctly handled situation when Xinerama is loaded but we have just one screen, so we could use Xrandr extension in such configuration?

This code is somewhere on boundary of AWT and 2D areas so you may want to also check with 2D. As for AWT side I can say for sure that we do not work on similar issue.

> I've still not opened a bug on the Java bug database, do I need to do
> that to be tidy?

you are supposed to send a path with bug id, so it looks reasonable to have one :)

Regards, Oleg.

Dan Munckton wrote:
Or maybe could the code in awt_GraphicsEnv.c check if only 1 monitor
is connected and presume that it's the Xrandr backend that's in use as
Xinerama wouldn't be loaded in that situation?

I tested this out and of course it works on my single monitor setup.
Since then I've chatted with Adam Jackson (Redhat) on #xorg he advised
that if XRRQueryVersion() returns >= 1.2, Java should go ahead and use
RANDR even if Xinerama is present.

So I'd like to go ahead and work on a patch for this. Could anyone
confirm if this is ok and that I'd not be duplicating effort?

I've still not opened a bug on the Java bug database, do I need to do
that to be tidy?

Any tips on how to go about writing a jtreg test for this?

Cheers

Dan



Reply via email to