From ac5e47344460750c95c9ba379152fe15f41b2d83 Mon Sep 17 00:00:00 2001 From: raster Date: Thu, 25 Feb 2010 12:26:25 +0000 Subject: [PATCH] why do a round trip for local info like.. root window # 0... 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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/ecore_x/xlib/ecore_x.c b/src/lib/ecore_x/xlib/ecore_x.c index 30b5ea3..842b45c 100644 --- a/src/lib/ecore_x/xlib/ecore_x.c +++ b/src/lib/ecore_x/xlib/ecore_x.c @@ -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; + */ } -- 2.7.4