[OpenJDK 2D-Dev] [PATCH] 6636469: Java Fullscreen Exclusive Mode not working with Xorg server 1.3.0 and above

Dmitri Trembovetski Dmitri.Trembovetski at Sun.COM
Fri Feb 29 15:48:58 UTC 2008

   Hi Dan,

Dan Munckton wrote:
> Sorry haven't had time to test your patch here yet. But I did notice
> that only Xinerama seems to report the correct number of screens -
> XScreenCount(...) returns 1 whether I've got 1 or 2 monitors plugged in.

   Yes, that's what I'm hoping for. XScreenCount is supposed
   to return 1 if xinerama is enabled.

   As I understand, the configuration where some screens
   are 'joined' via xinerama, and some aren't, isn't

>>    The only configuration left to test is two separate screens
>>    with xinerama extension present - but not "used"
>>    so you can't drag windows from one screen to another.
>>    I believe this is when we had issues.
>>    I can't enable such configuration on my nvidia-accelerated
>>    server for some reason. I'll install solaris nevada x86 and
>>    see if that would work.
> Yeah I believe this is what's known as "old style dual head mode" isn't
> it? I couldn't get this working on my setup either.

   This is an "old style" with a twist. Prior to Xorg 1.3
   the xinerama extension wouldn't be "active" if you had
   multiple screens but xinerama was not enabled.

   But now it is, apparently - at least in some situations,
   which is the cause of
     6599351: javaws only runs in the left-hand screen on snv_71

   In this bug users had dual screen setup, w/o
   xinerama explicitly enabled, but we were detecting xinerama and
   assuming there's a single X screen, which lead to issues.


More information about the 2d-dev mailing list