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;
> }
>
>
--
[apport] mythfrontend.real crashed with SIGSEGV in XRRGetScreenInfo()
https://bugs.launchpad.net/bugs/104262
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs