mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
composite: add a comment
Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
This commit is contained in:
committed by
Enrico Weigelt
parent
2ab2454151
commit
2c3d96e3ca
@@ -544,6 +544,13 @@ compNewPixmap(WindowPtr pWin, int x, int y, int w, int h)
|
||||
return pPixmap;
|
||||
}
|
||||
|
||||
/*
|
||||
* Copy bits from the parent into the new pixmap so that it will
|
||||
* have "reasonable" contents in case for background None areas.
|
||||
*
|
||||
* This can be very expensive, so we only do it when we absolutely have to.
|
||||
*/
|
||||
|
||||
if (pParent->drawable.depth == pWin->drawable.depth) {
|
||||
GCPtr pGC = GetScratchGC(pWin->drawable.depth, pScreen);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user