Hello all,
I'm trying to cope with a fltk application on a two video cards linux system.
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:
Section "Monitor"
Identifier "monitor1"
VendorName "Generic"
[...]
EndSection
Section "Monitor"
Identifier "monitor2"
VendorName "Generic"
[...]
EndSection
Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1" 0 0
Screen "screen2" RightOf "screen1"
#Option "Xinerama"
EndSection
Section "Device"
Identifier "device1"
Driver "nvidia"
Screen 0
BusID "PCI:2:0:0"
EndSection
Section "Device"
Identifier "device2"
Driver "nvidia"
Screen 0
BusID "PCI:7:0:0"
Option "Twinview" "TRUE"
Option "RandRotation" "On"
Option "TwinViewOrientation" "Below"
Option "Rotate" "CW"
EndSection
Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24
[...]
Option "DPMS"
EndSection
Section "Screen"
Identifier "screen2"
Device "device2"
Monitor "monitor2"
[...]
Option "DPMS"
Option "RandRotation" "on"
EndSection
----------------------
Should I modify the X configuration or there is a better and wiser idea to
make the application run as desired? Any hint will be highly appreciated.
Thank you,
Z.B.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk