Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!convex!linac!att!ucbvax!bloom-beacon!dont-send-mail-to-path-lines From: mouse@lightning.mcrcim.mcgill.EDU (der Mouse) Newsgroups: comp.windows.x Subject: Re: XChangeWindowAttributes Message-ID: <9105030612.AA23478@lightning.McRCIM.McGill.EDU> Date: 3 May 91 06:12:54 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 22 > It seems that when I execute XChangeWindowAttributes(...) to change > the background pixmap of a window, the effect only takes place after > the window is remapped. Or until an exposure is generated some other way. Two quotes from the Xlib document: [after XSetWindowBackground and XSetWindowBackgroundPixmap] XSetWindowBackground and XSetWindowBackgroundPixmap do not change the current contents of the window. [under XChangeWindowAttributes] Changing the background does not cause the window contents to be changed. To repaint the window and its background, use XClearWindow. der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu