[vox-tech] XLib and GC

Julie Russell vox-tech@lists.lugod.org
Thu, 06 Nov 2003 10:34:34 +1100


Thanks, I found the problem, I thought it was a direct xlib thing, but it
ended up being a mutex thing with the threads that I happened to stumble on
by accident... Thanks anyway! My application is getting too complicated for
its own good!

Regards,
Julie.

> -----Original Message-----
> From: vox-tech-admin@lists.lugod.org
> [mailto:vox-tech-admin@lists.lugod.org]On Behalf Of Henry House
> Sent: Tuesday, 4 November 2003 5:28 PM
> To: vox-tech@lists.lugod.org
> Subject: Re: [vox-tech] XLib and GC
>
>
> På måndag, 03 november 2003, skrev Julie Russell:
> > Hi Everyone,
> >
> > I am programing in Xlib on SuSE 8.2. I have two child windows,
> of which one
> > has scrolling text and the other is diplaying jpegs using
> libjpeg libraries.
> > They screens work independently of eachother, ie, the images show on one
> > window and the text scrolls (implemented in a thread using common c++
> > libraries) continuously on the other screen, but when I show them at the
> > same time, the text scrolls for one repitition, then dies. My
> suspicion is
> > that it is something to do with the graphics context, however
> they create
> > their own graphics contexts so I don't see how they can get
> confused... Any
> > ideas? I would apprecite some advice.
>
> Hmm, that description is a little vague. Some sample code might help. How
> does the scrolling text "die"?  Does the text widget work
> properly when the
> jpeg widget is disabled (try commenting it out the code to load
> the image)?
>
> --
> Henry House
> The unintelligible text that may follow is a digital signature.
> See <http://hajhouse.org/pgp> for information.  My OpenPGP key:
> <http://hajhouse.org/hajhouse.asc>.
>
>