[fdo] Doubt in XOpenDisplay
Havoc Pennington
hp at redhat.com
Mon Jun 20 06:48:39 PDT 2005
On Sun, 2005-06-19 at 23:12 -0700, Karthik Ramamoorthy wrote:
> Hi,
>
> How can i use XOpenDisplay function to open the secondary
> screen of my dual head card.
>
> When i use XOpenDisplay(":0.0") its opening the primary or
> default screen the then when i try with XOpenDisplay(":0.1") its
> giving error unable to open the display.
>
> Can anybody tell me how to open the two screens in case of Dual
> cards ie Dual Monitor System.
>
An Xlib Display connection includes all screens on the display. Most
Xlib functions take a root window or screen argument in addition to a
display argument, when appropriate.
Havoc
More information about the freedesktop
mailing list