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 |
- |
|
|