Re: [info-performer] Multipipe Initialization

Date view Thread view Subject view Author view

From: Jason Daly (jdaly++at++ist.ucf.edu)
Date: 10/07/2005 08:31:39


Hi, Chris,

>As soon as I do multiprocess as you state what happens is when I do my X-call to XSync I get the X "Bad Window" error.
>
Try replacing these two lines:

>XMapWindow(mttGlobal->dsp,mttGlobal->winLOWER);
>XSync(mttGlobal->dsp,FALSE); // program fails here
>
>
>

With these:

while (!pfIsPWinOpen(mttGlobal->pwinLOWER))
    pfFrame();

This is what I do in my code to force the window open, and it seems to
work for me. Maybe it'll help.

-- 

--"J"

"I'm a castaway stranded in a desolate land, I can see the footprints in the virtual sand." --Neil Peart


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Oct 07 2005 - 08:37:57 PDT