Path: utzoo!attcan!uunet!lll-winken!arisia!sgi!shinobu!odin!kahua.esd.sgi.com!paquin From: paquin@kahua.esd.sgi.com (Tom Paquin) Newsgroups: comp.windows.x Subject: Re: Window Creation Question Message-ID: <988@odin.SGI.COM> Date: 17 Oct 89 18:34:41 GMT References: <8910161515.AA22379@expo.lcs.mit.edu> <8910160634.AA13854@arisia.Xerox.COM> Sender: news@odin.SGI.COM Reply-To: paquin@kahua.esd.sgi.com (Tom Paquin) Organization: Silicon Graphics Inc. Lines: 27 . . > There is no way to write a proper X program that does not > handle events. Hogwash. xsetroot, xhost, xset... You can even do it properly with a window, depending on what you want done. > You must have a window visable on display, or all your drawing > commands will be tossed in the bit bucket. The only way to > make sure that this is true is to wait for expose events. Don't forget Map events > Since the X model also requires the application to repair > any damage to the window caused by it being obscured, you > must also be prepared to redraw the contents of your window > on any expose event. Hogwash again. The X model does not require interest in Expose events and therefore interest in those events is selectable. The server will paint the background of your window as it exposes. Thus, if all you want is a window with its background (maybe the background is the mona lisa), you can ignore exposes ad nauseum. (Besides, X doesn't require applications to have windows.) -Tom ***** Opinions are mine, not SGI's