🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #37898

Re: Expose Events on XConfigureWindow

#37898
From: Joel McCormack
Date: Fri, 09 Mar 1990 19:11
9 lines
1020 bytes
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)
Technical Details
Message-ID: <2989@bacchus.dec.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!brutus.cs.uiuc.edu!lll-winken!decwrl!decwrl.dec.com!joel
References: <1054@ontek.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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