[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Color manager and palette manager

Daniel Ranson  <ranson@LANNION.CNET.fr> writes about the problem with
using color screens: 
That's why you get a b&w image. The "window" pixmap you use is the pixmap of
your main screen, that is 1-bit deep. That's also why copying bits from the
screen does not work.

Question: How can a program "save" and "restore" bits that lie outside
the window but within the window manager port? When I try to copy the
bits of the pixmap of the window manager port, restoring them produces
1-bit deep pixels. How can I restore the pixels so that the windows
in other applications look the same as they did before saving?