home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / windows / x / 14345 < prev    next >
Encoding:
Text File  |  1992-07-25  |  1.9 KB  |  41 lines

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