Now, also compile.

SVN revision: 68350
This commit is contained in:
Leif Middelschulte 2012-02-23 16:00:40 +00:00
parent 29c8ede450
commit 4ecc9ffa63
1 changed files with 3 additions and 1 deletions

View File

@ -2302,13 +2302,15 @@ ecore_x_randr_window_outputs_get(Ecore_X_Window window,
int *num)
{
#ifdef ECORE_XRANDR
Ecore_X_Window root;
Ecore_X_Randr_Crtc *crtcs;
Ecore_X_Randr_Output *outputs, *ret = NULL;
int ncrtcs, noutputs, i, nret = 0;
if (_randr_version < RANDR_1_2) goto _ecore_x_randr_current_output_get_fail;
if (!(crtcs = ecore_x_randr_window_crtcs_get(window, num)))
root = ecore_x_window_root_get(window);
if (!(crtcs = ecore_x_randr_window_crtcs_get(window, &ncrtcs)))
goto _ecore_x_randr_current_output_get_fail;
for (i = 0, nret = 0; i < ncrtcs; i++)