mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 10:14:52 +00:00
Revert "composite: Only copy bits from the parent pixmap when absolutely necessary"
This reverts commit 2ab2454151
In the pParent->drawable.depth == pWin->drawable.depth case, pWin may
already have valid contents, which need to be copied to the new pixmap.
This commit is contained in:
committed by
Enrico Weigelt
parent
b7e6a90580
commit
2bcaa973be
@@ -540,10 +540,6 @@ compNewPixmap(WindowPtr pWin, int x, int y, int w, int h)
|
||||
pPixmap->screen_x = x;
|
||||
pPixmap->screen_y = y;
|
||||
|
||||
if (pWin->backgroundState != None) {
|
||||
return pPixmap;
|
||||
}
|
||||
|
||||
/*
|
||||
* Copy bits from the parent into the new pixmap so that it will
|
||||
* have "reasonable" contents in case for background None areas.
|
||||
|
||||
Reference in New Issue
Block a user