From 2bcaa973be6fc4495a173142f8a97debb21b5772 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Fri, 12 Dec 2025 02:47:04 +0200 Subject: [PATCH] Revert "composite: Only copy bits from the parent pixmap when absolutely necessary" This reverts commit https://github.com/X11Libre/xserver/commit/2ab24541515390b76c736e0949a9ab9bdb5c681c In the pParent->drawable.depth == pWin->drawable.depth case, pWin may already have valid contents, which need to be copied to the new pixmap. --- composite/compalloc.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/composite/compalloc.c b/composite/compalloc.c index c4554f50b9..7b5e5ace45 100644 --- a/composite/compalloc.c +++ b/composite/compalloc.c @@ -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.