On Tue, 2007-01-23 at 09:40 -0600, Nathan Ingersoll wrote: > On 1/23/07, Ed Presutti <[EMAIL PROTECTED]> 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.
That's exactly what I ended up doing. I just hooked in to the callbacks and started up the loop. I had to rework my logic a bit because I need the window geometry right before the window is closed so I can restore the window to it's exact position and size when the application is restarted. Working perfectly now. Still got some xrender_x11 issues, but the software_x11 engine is flawless. Thanks again for all of the information, I wasn't aware that the Ecore_Evas calls don't work outside of the main loop. :-) Ed ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
