>>  The application should open two test windows on both displays (one on
>> each display).
>>  Unfortunately, Fl::screen_count() counts only one screen.
>>  The application opens normally when called in a shell window on both
>> displays, but the two windows are shown only on the current display,
>> regardless on what I give as initial x() and y() [I tried with x(),
>> y() greater than the w() and h() of the screens, also with negative
>> values].
>>  I'm using fltk 1.1.7 on Mandriva 2007 with xorg. The relevant lines
>> in the file xorg.conf are:
>
> Fl::screen_count() reports only one screen when fltk is compiled
> without Xinerama support or it is disabled in X11. As I can see for
> given xorg.conf, Xinerama is disabled in X11.
>
> Does enabling it, problem resolves ?

 Basically, yes. For other configuration related issues, I was reluctant
to use Xinerama extension, but enabling it did not messed my X (it's true
I had also changed a video card meanwhile). Fltk compiled without Xinerama
doesn't count two screens but already gives me the right size of the
extended display which can thus be used. If Xinerama support is included,
fltk counts two screens with their respective sizes.
 Thank you all,
        Z.B.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to