thomas@utah-gr.UUCP (Spencer W. Thomas) (07/14/87)
I am trying to program an application that is moving icons (bitmaps)
around in a window. It works fine when I know what the background
pixmap is so I can repaint the areas vacated by the icons with the
background. However, if I use the background inherited from the parent
window, I don't have a handle to the pixmap, and so can't repaint with
it. My query is twofold. Is there a way I can either
1) cause a specific region (specified by a bitmask) to be repainted with
the window background, or
2) find out the background pixmap of an arbitrary window?
--
=Spencer ({ihnp4,decvax}!utah-cs!thomas, thomas@cs.utah.edu)haynes@decwrl.DEC.COM (Charles Haynes) (07/15/87)
Send an exposure event on the appropriate area and let the server take care of the problem. -- Charles