why do a round trip for local info like.. root window # 0...
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 25 Feb 2010 12:26:25 +0000 (12:26 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 25 Feb 2010 12:26:25 +0000 (12:26 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@46460 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore_x/xlib/ecore_x.c

index 30b5ea3..842b45c 100644 (file)
@@ -1023,6 +1023,8 @@ ecore_x_window_root_list(int *num_ret)
 EAPI Ecore_X_Window
 ecore_x_window_root_first_get(void)
 {
+   return RootWindow(_ecore_x_disp, 1);
+/*   
    int num;
    Ecore_X_Window root, *roots = NULL;
 
@@ -1037,6 +1039,7 @@ ecore_x_window_root_first_get(void)
    
    free(roots);
    return root;
+ */
 }