Comment 10 for bug 104262

Revision history for this message
Richard (richardbe) wrote :

I had a look at the source to see what changes I can find between libXrandr2 in edgy (1.1.1) and in feisty (1.2.0) specifically in regards to XRRGetScreenInfo(). It seems there is an additional parameter in 1.2.0, XExtDisplayInfo. In addition, where XRRGetScreenInfo is called, 1.2.0 has "window window" instead of "Drawable draw"

The specific lines are:

Version 1.1.1:

In Xrandr.h, line 73:

XRRScreenConfiguration *XRRGetScreenInfo (Display *dpy,
                                                              Drawable draw);

In Xrandr.c, line 435:

static XRRScreenConfiguration *_XRRGetScreenInfo (Display *dpy, Window window)

Version 1.2.0:

In Xrandr.h, line 127:

XRRScreenConfiguration *XRRGetScreenInfo (Display *dpy,
                                                                           Window window);

In XrrConfig.c (which contains part of Xrandr.c of 1.1.1), line 200:

static XRRScreenConfiguration *_XRRGetScreenInfo (Display *dpy,
                                              XExtDisplayInfo *info,
                                              Window window)

According to this page: http://www.gossamer-threads.com/lists/mythtv/users/265609 compiling mythtv with --disable-xrandr will allow it to work without using the old libraries (which I posted above). I haven't tried it myself but I see no reason why it wouldn't work. I don't know what effect that has on mythtv though.