Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 262270 | Differences between
and this patch

Collapse All | Expand All

(-)a/configure.in (-1 / +4 lines)
Lines 114-120 AC_SUBST(STARTUP_NOTIFICATION_PACKAGE) Link Here
114
dnl we need x11 for GnomeBG
114
dnl we need x11 for GnomeBG
115
115
116
PKG_CHECK_MODULES(XLIB, x11 xrandr >= $XRANDR_REQUIRED,
116
PKG_CHECK_MODULES(XLIB, x11 xrandr >= $XRANDR_REQUIRED,
117
    X11_PACKAGE=x11,
117
    [X11_PACKAGE=x11
118
     PKG_CHECK_EXISTS([xrandr >= 1.3],
119
                      [AC_DEFINE(HAVE_XRANDR_13, 1, [xrandr 1.3 available])])
120
	],
118
    [X11_PACKAGE=
121
    [X11_PACKAGE=
119
     AC_PATH_XTRA
122
     AC_PATH_XTRA
120
     if test "x$no_x" = xyes; then
123
     if test "x$no_x" = xyes; then
(-)a/libgnome-desktop/gnome-rr.c (-5 / +2 lines)
Lines 338-352 fill_out_screen_info (Display *xdisplay, Link Here
338
	 * XRRGetScreenResources, however it is available only
338
	 * XRRGetScreenResources, however it is available only
339
	 * in RandR 1.3 or higher
339
	 * in RandR 1.3 or higher
340
	 */
340
	 */
341
#if (RANDR_MAJOR > 1 || (RANDR_MAJOR == 1 && RANDR_MINOR >= 3))
341
#ifdef HAVE_XRANDR_13
342
        /* Runtime check for RandR 1.3 or higher */
342
        /* Runtime check for RandR 1.3 or higher */
343
        if (info->screen->rr_major_version == 1 && info->screen->rr_minor_version >= 3)
343
        if (info->screen->rr_major_version == 1 && info->screen->rr_minor_version >= 3)
344
            resources = XRRGetScreenResourcesCurrent (xdisplay, xroot);
344
            resources = XRRGetScreenResourcesCurrent (xdisplay, xroot);
345
        else
345
        else
346
            resources = XRRGetScreenResources (xdisplay, xroot);
347
#else
348
        resources = XRRGetScreenResources (xdisplay, xroot);
349
#endif
346
#endif
347
            resources = XRRGetScreenResources (xdisplay, xroot);
350
    }
348
    }
351
349
352
    if (resources)
350
    if (resources)
353
- 

Return to bug 262270