X-window expose event question..

Dan Severance dan at doctor.chem.yale.edu
Fri May 17 02:42:56 AEST 1991


  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 at omega.chem.yale.edu

    Machines:
      SUN SparcStation 1, color
      SGI 4D-25G (still waiting for 4D-35 upgrade)



More information about the Comp.sys.sgi mailing list