Path: utzoo!attcan!uunet!husc6!bloom-beacon!sparky.UUCP!jdi From: jdi@sparky.UUCP (John Irwin) Newsgroups: comp.windows.x Subject: Re: Help! Message-ID: <8901282046.AA06866@sparky> Date: 28 Jan 89 20:46:51 GMT References: <2566@daisy.UUCP> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 22 Your message: In article <7391@netnews.upenn.edu> arup@linc.cis.upenn.edu.UUCP (Arup Mukh erjee) writes: > > The program works fine if no >window manager is running, but if any of wm, uwm, twm or awm is >running, the window appears, and *nothing* is drawn into it. You should wait for an Expose event before drawing on the window. ... -------- Note: This *won't* work if the window in question has a backing-store of type Always, and the server has enough resources to retain the window. With such a window, you should wait for a MapNotify event before drawing. -- John PS: The ICCCM should mention this difference in section 4.2.2.