From: leif Date: Thu, 23 Feb 2012 16:00:40 +0000 (+0000) Subject: Now, also compile. X-Git-Tag: 2.0_alpha~68^2~39 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b48934bc8f5412ddc0ed40bb08196caa19390946;p=framework%2Fuifw%2Fecore.git Now, also compile. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@68350 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/ecore_x/xlib/ecore_x_randr_12.c b/src/lib/ecore_x/xlib/ecore_x_randr_12.c index 5947887..426885b 100644 --- a/src/lib/ecore_x/xlib/ecore_x_randr_12.c +++ b/src/lib/ecore_x/xlib/ecore_x_randr_12.c @@ -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++)