home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / windows / x / 20730 < prev    next >
Encoding:
Internet Message Format  |  1993-01-04  |  1.8 KB

  1. Path: sparky!uunet!noc.near.net!hri.com!spool.mu.edu!think.com!cass.ma02.bull.com!mips2!bull.bull.fr!julienas!laas!felix
  2. From: felix@laas.fr (Francois Felix INGRAND)
  3. Newsgroups: comp.windows.x
  4. Subject: Can I count on the count number of a GraphicExpose event...
  5. Message-ID: <FELIX.93Jan4180207@idefix.laas.fr>
  6. Date: 4 Jan 93 17:02:07 GMT
  7. Sender: news@laas.fr
  8. Distribution: comp
  9. Organization: LAAS-CNRS France
  10. Lines: 23
  11. Nntp-Posting-Host: idefix
  12.  
  13.  
  14. I am using the GraphicExpose and NoExpose event of the X server to redraw part
  15. of a window. However, to solve the problem of asynchronism between the server
  16. and the client, I build (after each CopyArea) a structure which remember where
  17. was my drawing when I generated the GraphicExpose (or NoExpose).
  18.  
  19. This worked fine as long as one and only one window obscured my drawable.
  20. However, as soon as you have more than one window, you can get more than one
  21. GraphicExpose for one copy area (and this behavior is documented)...  My
  22. problem was then to figure out how many GraphicExpose event do you get...
  23. Nowhere in the documentation I have been able to find out. It looks like the
  24. count number in the GraphicExpose event does the job (ie to tell me how many
  25. pending GraphicExpose from the same CopyArea are still enqueued)... and by
  26. using this value, my application works fine... But, am I just lucky or is this
  27. count supposed to hold this value? Moreover, if it is not supposed to hold this
  28. value, is there a trick to find it?
  29.  
  30. Please reply by e-mail as our news feeder is always 2 weeks behind.
  31. --
  32. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  33. Francois Felix INGRAND                   "Read my Lisp... No new syntax" (nil)
  34. LAAS/CNRS: felix@laas.fr      "La guerre, qu'on voit danser le long des golfes
  35. ACS Tech.: felix@acs.dialexis.fr     clairs, a des reflets d'argent" (Anonyme)
  36.