fix randr bug! -> tunix!
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 21 Aug 2010 02:37:20 +0000 (02:37 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 21 Aug 2010 02:37:20 +0000 (02:37 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@51475 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore_x/xlib/ecore_x_randr_12.c

index 8f8cef9..a8062cb 100644 (file)
@@ -536,7 +536,7 @@ ecore_x_randr_crtc_outputs_get(Ecore_X_Window root,
              memcpy(ret, crtc_info->outputs,
                     (sizeof(Ecore_X_Randr_Output) * crtc_info->noutput));
              if (num)
-                *num = res->ncrtc;
+                *num = crtc_info->noutput;
           }
 
         if (crtc_info)