Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!brutus.cs.uiuc.edu!lll-winken!decwrl!decwrl.dec.com!joel From: joel@decwrl.dec.com (Joel McCormack) Newsgroups: comp.windows.x Subject: Re: Expose Events on XConfigureWindow Keywords: X11R3 Expose Sun4 Message-ID: <2989@bacchus.dec.com> Date: 9 Mar 90 19:11:24 GMT References: <1054@ontek.UUCP> Sender: news@decwrl.dec.com Reply-To: joel@decwrl.dec.com Distribution: comp Organization: DEC Western Research Laboratory Lines: 9 The default bit-gravity for a window is Forget. This means you get Expose events upon reconfiguring because the server considers the window contents to be ``lost.'' In your widget realize method, try setting the bit-gravity attribute to NorthWest, and see if that gets rid of the Expose events. The server is free to consider bit-gravity as a hint, and therefore ignore it, but the sample servers distributed by MIT should actually use the information. - Joel McCormack (decwrl!joel, joel@decwrl.dec.com)