summaryrefslogtreecommitdiff
path: root/composite/compwindow.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@koto.keithp.com>2007-09-01 21:14:22 -0700
committerKeith Packard <keithp@koto.keithp.com>2007-09-01 21:14:22 -0700
commitf98dfec79dadb70fa7bba84e7335f92b3a73dc02 (patch)
treef630317e6ca45cf7c99e9bd4d78f1cc104f53a04 /composite/compwindow.c
parent1afdf8b0a92437dffe84fa98b6083b3d8fd55e27 (diff)
[COMPOSITE] Composite used for pixmap population on redirect. (Bug #7447)
compNewPixmap copies bits from the parent window to the redirected child pixmap to populate the pixmap with reasonable data. It cannot always use CopyArea as that only works across matching depths. Use Composite when the depths do not match.
Diffstat (limited to 'composite/compwindow.c')
-rw-r--r--composite/compwindow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/composite/compwindow.c b/composite/compwindow.c
index a4c4e6f32..bfd29460b 100644
--- a/composite/compwindow.c
+++ b/composite/compwindow.c
@@ -685,7 +685,7 @@ compGetWindowVisual (WindowPtr pWin)
return 0;
}
-static PictFormatPtr
+PictFormatPtr
compWindowFormat (WindowPtr pWin)
{
ScreenPtr pScreen = pWin->drawable.pScreen;