[mythtv-commits] mythtv commit: r13766 by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Mon Jun 25 18:32:37 UTC 2007


      Author: danielk
        Date: 2007-06-25 18:32:36 +0000 (Mon, 25 Jun 2007)
New Revision: 13766
   Changeset: http://cvs.mythtv.org/trac/changeset/13766

Modified:

   trunk/mythtv/libs/libmyth/DisplayResX.cpp

Log:

Fixes #3401. Applies slightly modified version of patch.

This just checks if we have the xrandr extension before using it. This fixes a segfault for people recompile their own X11 servers to exclude XRandR support after compiling MythTV, or when they have X11 installed on an OSX machine.

I added the dummy variables argued over in the ticket comments. While I don't think they are required by the API, an implementation of XRandR in wide release appears to require them in practice, whether this is a new bug in the implementation or a new bug in the API isn't really important; the code that works with this XRandR release is still correct according API and only one line longer.




More information about the mythtv-commits mailing list