home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!snorkelwacker.mit.edu!thunder.mcrcim.mcgill.edu!mouse
- From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
- Subject: Re: Kills from Window Manager
- Message-ID: <1992Jul24.182031.29532@thunder.mcrcim.mcgill.edu>
- Organization: McGill Research Centre for Intelligent Machines
- References: <1992Jul16.191443.14127@bnr.ca> <1460adINN77b@early-bird.think.com> <14b03iINN1kn@early-bird.think.com>
- Date: Fri, 24 Jul 92 18:20:31 GMT
- Lines: 31
-
- In article <14b03iINN1kn@early-bird.think.com>, barmar@think.com (Barry Margolin) writes:
- > In article <1992Jul18.132220.18254@thunder.mcrcim.mcgill.edu> mouse@thunder.mcrcim.mcgill.edu (der Mouse) writes:
- >> If an application would simply exit when asked to delete its window,
- >> and it has no requirement for user interaction during its cleanup
- >> operations, if any, I see no reason why it should bother
- >> participating in WM_DELETE_WINDOW. (I suspect this is a fairly
- >> large class of applications.) Do you see any such reason?
-
- > Doesn't it have to participate in the protocol even to do that much?
- > In order to do anything "when asked to delete its window", it has to
- > recognize the request.
-
- > When I use f.delete on windows of clients that don't implement the
- > protocol, twm beeps at me.
-
- In that case, then you need to fix either twm or your menus: twm, if
- f.delete is supposed to be "make this window go away" (because it isn't
- working that way), or your menus, if f.delete is supposed to be "send
- WM_DELETE_WINDOW if requested" (because that's not the operation you
- want). In short, when the tool doesn't do what you want, either fix it
- or use a different tool. The ICCCM contains no indication that every
- well-behaved application must participate in WM_DELETE_WINDOW, at least
- not that I could find.
-
- (I exchanged email with someone I know over one of my programs that
- doesn't do WM_DELETE_WINDOW; it looked nearly identical to this....)
-
- der Mouse
-
- mouse@larry.mcrcim.mcgill.edu
-