[osg-users] xrandr version

Gianni Ambrosio g.ambrosio+osg at gmail.com
Thu Nov 12 06:15:22 PST 2015


robertosfield wrote:
> 
> Which git repository xrandr?
> 

http://cgit.freedesktop.org/xorg/lib/libXrandr
addressed from here: http://www.x.org/wiki

robertosfield wrote:
> 
> The OSG?
> 

I'm on OSG 3.0.1 but the code related to xrandr, in "GraphicsWindowX11.cpp" file, on the OSG trunk is exactly the same.

robertosfield wrote:
> 
> What signatures are you referring to?
> 

The signature of every xrendr API used in "GraphicsWindowX11.cpp" file did not change from xrandr 1.1.1 to 1.2 (but I also check the trunk version). There is just one difference:

Xrandr.h (v1.2)
XRRScreenConfiguration *XRRGetScreenInfo (Display *dpy, Window window);

Xrandr.h (v1.1.1)
XRRScreenConfiguration *XRRGetScreenInfo (Display *dpy, Drawable draw);

BTW in Xrandr.c (v1.1.1) the signature is:
XRRScreenConfiguration *XRRGetScreenInfo (Display *dpy, Window window)

Maybe Window and Drawable are both integers or so.

Hope this is clearer now.

Gianni

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=65620#65620








More information about the osg-users mailing list