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