On Mon, 2007-01-22 at 23:44 -0600, Nathan Ingersoll wrote:
> On 1/22/07, Ed Presutti <[EMAIL PROTECTED]> wrote:
> >
> > Yes, I do the last of the window setup, followed by the
> > ecore_evas_show(), then do those calls and start the main loop.
> >
> > Ed
> 
> Based on this description, the window is probably not mapped yet. X is
> async, so the request has been sent to the server, but the server has
> not necessarily received it or acted on it yet. Try waiting for a
> configure event and using the geometry it reports in the event
> structure.

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?



-------------------------------------------------------------------------
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

Reply via email to