Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!sdd.hp.com!think.com!yale!quasi-eli!cs.yale.edu!news From: dan@doctor.chem.yale.edu (Dan Severance) Newsgroups: comp.sys.sgi Subject: X-window expose event question.. Message-ID: <1991May16.164256.4619@cs.yale.edu> Date: 16 May 91 16:42:56 GMT Sender: news@cs.yale.edu (Usenet News) Organization: Laboratory for Computational Chemistry, Yale University Lines: 23 Nntp-Posting-Host: doctor.chem.yale.edu Hi, Perhaps I don't understand how X works too well yet, but... I have a program that uses and event loop. One of the events that I trap is an expose event. If I compile and run the code on either a SUN or SGI, it works differently depending on which machine I display it on. If I uncover or resize the window, whenever the SGI is the DISPLAY device, _TWO_ expose events are generated, while only one is generated when the window is moved from point A to point B.. When the SUN is the DISPLAY device (openwindows) only 1 expose event is generated by resizing or unconvering the window. Is there something I'm missing here?? If someone has a piece of test code that demonstrates correct behavior, I can figure out what I'm doing wrong, or if you know what would cause this, just tell me.. Thanks in advance. Dan Severance dan@omega.chem.yale.edu Machines: SUN SparcStation 1, color SGI 4D-25G (still waiting for 4D-35 upgrade)