From: Nathan I. <nin...@gm...> - 2007-01-23 15:40:41
|
On 1/23/07, Ed Presutti <epr...@co...> wrote: > > I added a 3 second sleep() in there right after my ecore_evas_show(), > just to test. Then I noticed that the window does not draw until it hits > the ecore_main_loop_begin() call. That explains why the > ecore_evas_geometry_get() call wouldn't work but brings up an > interesting point. > > Does the ecore_main_loop_begin() have to be called before ecore_evas is > working? Well, "working" as in querying properties that are only available on mapped X windows, then yes you should hit the main loop. Why not wait for the configure event? Querying like this is slow as it's a round-trip request and response from the server. |