Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!ANDREW.CMU.EDU!zs01+ From: zs01+@ANDREW.CMU.EDU (Zalman Stern) Newsgroups: comp.windows.x Subject: Can I get the background_pixmap of a window? Message-ID: Date: 1 Aug 88 03:59:45 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 19 Is there any way to get the current values for background_pixmap and background_pixel for a window? You can set them, but I don't see a call in the Xlib docs for getting these values. I am trying to fake a save under for a menu package. I have a window that someone asked for a menu to be popped up over. When I bring down the menu window, I want to temporarily set the background_pixmap of the parent window to None, so the server will not redraw the exposed region. Then I can restore the save bits that I have tucked away in a pixmap. The problem is that I can't find out what the current background_pixmap is so I can't restore it when I am done. I would appreciate an answer to this question despite the fact that save unders are going to be implemented in the near future. Please respond via email as I don't read this newsgroup very often. Thank you, Zalman Stern Internet: zs01+@andrew.cmu.edu Usenet: I'm soooo confused... Information Technology Center, Carnegie Mellon, Pittsburgh, PA 15213-3890