Path: utzoo!attcan!uunet!lll-winken!indri!unmvax!tut.cis.ohio-state.edu!bloom-beacon!GROUCH.JPL.NASA.GOV!PJS From: PJS@GROUCH.JPL.NASA.GOV (Peter Scott) Newsgroups: comp.windows.x Subject: Contents of windows Message-ID: <890422145257.00001135181@grouch.JPL.NASA.GOV> Date: 22 Apr 89 22:52:57 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 13 I just started learning X-Windows, and had assumed that if a window were obscured or closed, that X would save its contents and automatically restore them when the window or part of window became displayable. But from my reading it appears that redisplay is the responsibility of the programmer. Let me get this straight. If, for instance, I am writing a painting program, then either I have to keep a journal of all the user's paint commands, and replay them whenever I am redisplayed, or I have to save the bitmap for the window each time the window is modified, and restore from that if I am obscured? Suppose I have backing store supported and enabled. Does X automatically restore the contents of the window in this case? Peter Scott (pjs@grouch.jpl.nasa.gov)