Path: utzoo!attcan!uunet!jarthur!elroy.jpl.nasa.gov!ucla-cs!arman From: arman@oahu.cs.ucla.edu (Arman Bostani) Newsgroups: comp.windows.x Subject: XSetWindowBackgroundPixmap? Message-ID: <33267@shemp.CS.UCLA.EDU> Date: 20 Mar 90 18:17:31 GMT Sender: news@CS.UCLA.EDU Reply-To: arman@oahu.cs.ucla.edu (Arman Bostani) Organization: UCLA Computer Science Department Lines: 26 If I'm using XSetWindowBackgroundPixmap(dpy, win, pix), is it guaranteed that subsequent changes to the pixmap will appear in win, whenever XClearWindow(win) is called? [pix is exactly the same size and depth as the win] example: ... ... XSetWindowBackgroundPixmap(dpy, win, pix); XDrawLine(dpy, pix, gc, x0, y0, x1, y1); XClearWindow(dpy, win); XFlush(dpy); does the line appear in win? I have tried this on several X11R3 and R4 servers, and on all but one update the window from the pixmap after the XClearWindow. Thanx for the help, arman. -- Arman Bostani // UCLA Computer Science Department -- arman@CS.UCLA.EDU // ...!{uunet,rutgers,ucbvax}!cs.ucla.edu!arman