mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-15 08:00:33 +01:00
Revert "composite: Only copy bits from the parent pixmap when absolutely necessary"
This reverts commit 7e6c55cc9f.
In the pParent->drawable.depth == pWin->drawable.depth case, pWin may
already have valid contents, which need to be copied to the new pixmap.
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2092>
This commit is contained in:
parent
fff0023339
commit
d4be568863
1 changed files with 0 additions and 3 deletions
|
|
@ -544,9 +544,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;
|
||||
|
||||
if (pParent->drawable.depth == pWin->drawable.depth) {
|
||||
GCPtr pGC = GetScratchGC(pWin->drawable.depth, pScreen);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue