Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!hplabs!hpfcso!stroyan From: stroyan@hpfcso.HP.COM (Mike Stroyan) Newsgroups: comp.windows.x Subject: Re: No expose after map if backing store? Message-ID: <7320012@hpfcso.HP.COM> Date: 17 Jan 91 17:08:13 GMT References: <1658@rrzbu.UUCP> Organization: Hewlett-Packard, Fort Collins, CO, USA Lines: 15 > As anybody knows, before drawing to a window just mapped one has to wait > for an exposure event. Fine. > > But why does the program below hang on R4 servers with backing store > and runs fine on servers without? > > Do I really have to ask the server if it will maintain backing store > before doing the XNextEvent() or is it a bug in the server? I suggest that rather than just asking for ExposureMask you also ask for StructureNotifyMask and proceed after a MapNotify event. Asking for ExposureMask is still a good idea since the server may generate exposures instead of offering backing store. Mike Stroyan, mike_stroyan@fc.hp.com