Looking closer at this, it appears that we are already calling XRRGetScreenInfo with the correct parameters for the new xrandr version: this is libs/libmyth/DisplayResX.cpp:
static XRRScreenConfiguration *GetScreenConfig(Display*& display) > { > display = MythXOpenDisplay(); > if (!display) > { > cerr<<"DisplaResX: MythXOpenDisplay call failed"<<endl; > return NULL; > } > > X11L; > Window root = RootWindow(display, DefaultScreen(display)); > XRRScreenConfiguration *cfg = XRRGetScreenInfo(display, root); > if (!cfg) > { > if (display) > XCloseDisplay(display); > cerr<<"DisplaResX: Unable to XRRgetScreenInfo"<<endl; > } > X11U; > > return cfg; > } > >
Looking closer at this, it appears that we are already calling DisplayResX. cpp:
XRRGetScreenInfo with the correct parameters for the new xrandr version:
this is libs/libmyth/
static XRRScreenConfig uration *GetScreenConfi g(Display* & display) display) ); uration *cfg = XRRGetScreenInf o(display, root); display) ; o"<<endl;
> {
> display = MythXOpenDisplay();
> if (!display)
> {
> cerr<<"DisplaResX: MythXOpenDisplay call failed"<<endl;
> return NULL;
> }
>
> X11L;
> Window root = RootWindow(display, DefaultScreen(
> XRRScreenConfig
> if (!cfg)
> {
> if (display)
> XCloseDisplay(
> cerr<<"DisplaResX: Unable to XRRgetScreenInf
> }
> X11U;
>
> return cfg;
> }
>
>