Ecore_X: We can still get output resources even if 'num' is not passed

in.



SVN revision: 75868
This commit is contained in:
Christopher Michael 2012-08-30 10:31:41 +00:00
parent eb8665bfd4
commit d021536d2b
1 changed files with 1 additions and 1 deletions

View File

@ -637,7 +637,7 @@ ecore_x_randr_outputs_get(Ecore_X_Window root,
XRRScreenResources *res = NULL;
Ecore_X_Randr_Output *ret = NULL;
if (num && root &&
if (root &&
(res = _ecore_x_randr_get_screen_resources(_ecore_x_disp, root)))
{
if ((ret = malloc(sizeof(Ecore_X_Randr_Output) * res->noutput)))