Hi, Well I actually needed it, setting run=0, would stop that event queue, and therefore would let that process to stop running.
But it wasn't xlib related, I've found out the problem was caused by Imlib, so I'm almost finished!, now I can have a different set of icons for each workspace (window manager independent), as well as I can have things like xhsape/imblib tool-tips trough atjobs, or cron, among many other things, and all of that using a xml file together with it's dtd. Isn't it that really amazing? I just didn't think I would be capable to doing this, but is there!. I've just got left to implement the command-line parsing part. And the next time, I'll try porting all of this towards to a multi-threaded environment, as xlib also implements it. I think of what I've done that actually looks a bit "dirty", have read a bit about threads, and think is a good option to continue learning. An own config file is also in mind!. Thanks very much again, and happy new year guys! --- Tim Roberts <[EMAIL PROTECTED]> wrote: > chinlu chinawa wrote: > > >Hi, > > > >Ei, it worked!, thanks very much. I didn't tought > of > >opening the display again, stupid me. > > > >I understand you meant to add a > StructureNotifyMask, > >as well as the pertinent handlers on the event's > >queue, when you said to let my parent process to be > >able to handle XDestroy. > > > >I say this, cose I've done it, filled my xsever > >structure again in the child process (display, > screen, > >fontsets, etc), but whether I try to map my windows > >again, a BadWindow (X_DestroyWIndow) error comes > up, > >which doesn't happen if I just destroy them and > exit. > > > > > > Well, that may have been a red herring on my part. > All I was trying to > say is that the owning process will get the events, > even if another > process destroys the window. If the owning process > doesn't need to do > any special handling when the window is destroyed, > you don't have to add > anything now. > > -- > Tim Roberts, [EMAIL PROTECTED] > Providenza & Boekelheide, Inc. > > _______________________________________________ > Devel mailing list > Devel@XFree86.Org > http://XFree86.Org/mailman/listinfo/devel > ___________________________________________________________ Yahoo! Exclusive Xmas Game, help Santa with his celebrity party - http://santas-christmas-party.yahoo.net/ _______________________________________________ Devel mailing list Devel@XFree86.Org http://XFree86.Org/mailman/listinfo/devel