home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / windows / x / 16242 < prev    next >
Encoding:
Text File  |  1992-09-08  |  1.6 KB  |  39 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!usc!snorkelwacker.mit.edu!thunder.mcrcim.mcgill.edu!mouse
  3. From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
  4. Subject: Re: What would this window obscure?
  5. Message-ID: <1992Sep6.074714.17579@thunder.mcrcim.mcgill.edu>
  6. Organization: McGill Research Centre for Intelligent Machines
  7. References: <RJC.92Aug27183542@daiches.cogsci.ed.ac.uk> <WARE.92Sep3135501@organ.cis.ohio-state.edu>
  8. Date: Sun, 6 Sep 92 07:47:14 GMT
  9. Lines: 29
  10.  
  11. > Distribution: comp
  12.  
  13. Please don't misuse newsgroup hierarchy names as distributions.
  14.  
  15. In article <WARE.92Sep3135501@organ.cis.ohio-state.edu>, ware@organ.cis.ohio-state.edu (Peter Ware) writes:
  16. > In article <1992Sep3.154113.10359@cam-orl.co.uk> thg@cam-orl.co.uk
  17. > (Tim Glauert) writes:
  18. >> [The server] is allowed to generate expose events on areas which are
  19. >> already visible.
  20. > Pardon the technitrivia, but are you sure the server is allowed to
  21. > generate expose events for visible regions?
  22.  
  23. In a practical sense, yes: the sample server does it.  (Of course, it
  24. must *always* paint the exposed areas with the window's background, as
  25. if a real expose had happened.)  The (R4) protocol document's
  26. description of the Expose event is
  27.  
  28.      It is generated when no valid contents are available for regions
  29.      of a window, and either the regions are visible, [or other clauses
  30.      about backing-store].
  31.  
  32. So all you need to do decree that in certain situations the server
  33. loses parts of the contents of the window, and presto! the condition is
  34. satisfied, so an Expose event must be generated.
  35.  
  36.                     der Mouse
  37.  
  38.                 mouse@larry.mcrcim.mcgill.edu
  39.