Hi Thanks for display. I pass as a parameter :0.0 and it works. But if i have a problem if two screen are connected to the computer or remote desktop connection, The reason i need to use XOpenDisplay is to retrieve screen resolution. Is there another way to do it thank you
On Wed, Sep 22, 2010 at 11:53 AM, Glynn Clements <[email protected]> wrote: > > yoni dana wrote: > >> I have a software which is loaded before the X server is running. >> After the X server is up,I try to use the xopendisplay function with NULL , >> parameters and fails.(Reason no display parameter declared) >> Any idea how to solve this problem? > > Either set $DISPLAY, or pass something other than NULL as the display > argument to XOpenDisplay(). Ideally, the program should provide a > -display switch to specify the display to connect to. > > -- > Glynn Clements <[email protected]> > _______________________________________________ [email protected]: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: [email protected]
