[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RP] Thanks
From: |
eichin-ratp |
Subject: |
Re: [RP] Thanks |
Date: |
Fri Oct 12 14:01:10 2001 |
> programming. Do X windows act like most Unix resources, such that if I
> create one and exit, it'll be closed?
One level off from that, but yes: a Display* corresponds to a file
descriptor. A window is associated with a display; when you
explicitly XCloseDisplay, or when you exit and thus close the file
descriptor (important to understand when forking, though ISTR X
defaults to close-on-exec these days so you're safe), all the
associated windows go away too.
> then getting the property, printing it, and exiting.
I actually see the BadWindow error fairly often and I don't use
"window" (but I'm not yet sure if netscape or something else triggers
it.) I'm pretty sure it has *something* to do with a window going
away when ratpoison isn't expecting it too or is still trying to do
something with it, yes...
- Re: [RP] Thanks, (continued)
- Re: [RP] Thanks, eichin-ratp, 2001/10/11
- Re: [RP] Thanks, Mike Meyer, 2001/10/11
- Re: [RP] Thanks, shawn, 2001/10/11
- Re: [RP] Thanks, Mike Meyer, 2001/10/11
- Re: [RP] Thanks, eichin-ratp, 2001/10/11
- Re: [RP] Thanks, Mike Meyer, 2001/10/11
- Re: [RP] Thanks, eichin-ratp, 2001/10/11
- Re: [RP] Thanks, Mike Meyer, 2001/10/12
- Re: [RP] Thanks,
eichin-ratp <=
- Re: [RP] Thanks, Mike Meyer, 2001/10/12