Re: [GnomeMeeting-devel-list] Win32 fullscreen



Hello Julien,

Am Donnerstag 23 März 2006 15:06 schrieb Julien PUYDT:
> Michael Rickmann a écrit :
> > ---
> ---
> > gm_main_window_update_video in src/gui/main.cpp is used by two threads,
> > at a different frequency though. When SDL_Init+SDL_SetVideoMode is
> > executed by one thread and SDL_Quit by the other, SDL shuts down, but
> > Windows forbids to destroy the SDL_app window. Why can I reliably remove
> > that window by disconnecting ? I have not found the reason yet in the
> > code. I suspect that both threads terminate and Windows in due corse
> > destroys the window owned by one them.
> > ....
> > programming, however, I still try to find sort of a housekeeping thread
> > in Ekiga which could do the SDL_Inits+SDL_SetVideoMode and SDL_Quits and
> > let the others do the drawing. I have not been long enough with Ekiga to
> > be really aquainted with its design. Any hints are welcome.
>
> Hmmmm... to circumvent the threading issue, the most efficient way is
> probably to create/destroy the SDL window through g_idle_add : that way
> it will be done in the mainloop thread.
>
> Snark
> _______________________________________________
> Gnomemeeting-devel-list mailing list
> Gnomemeeting-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnomemeeting-devel-list

Yup, g_idle_add looks good and fullscreen is working for me now !!!

Give me some time for submitting a patch. There are other things in 
WIN32-Ekiga which I would like to address as well: start Ekiga only once, 
parse command line, get debug output and other minor things from SDL_Main, 
linking SDL.dll dynamically.
Regards
Michael



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]