Comment 9 for bug 737891

Revision history for this message
Bryce Harrington (bryce) wrote : Re: gnome-display-properties unable to correctly enable monitors connected to VGA

@seb128, it appears to me that in fact they *do* use the same API into X. Please provide additional references as to the difference in api usage.

gnome-desktop's gnome-rr.c file is a wrapper around libXrandr:

#ifdef HAVE_RANDR
#include <X11/extensions/Xrandr.h>
#endif

The xrandr tool also uses libXrandr.h. Both codebases implement similar logic with analogous but not equivalent code, but underneath they're both utilizing libXrandr. So, where a problem exists when using one tool but not the other it does indeed point to something wrong with the utility and not in the underlying X code.