[PATCH 36/37] composite: Treat bs-Always windows as viewable when marking

Adam Jackson ajax at redhat.com
Wed Oct 8 08:05:00 PDT 2014


Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 composite/compalloc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/composite/compalloc.c b/composite/compalloc.c
index dfbff06..cbb9539 100644
--- a/composite/compalloc.c
+++ b/composite/compalloc.c
@@ -106,7 +106,7 @@ compMarkWindows(WindowPtr pWin, WindowPtr *ppLayerWin)
     ScreenPtr pScreen = pWin->drawable.pScreen;
     WindowPtr pLayerWin = pWin;
 
-    if (!pWin->viewable)
+    if (!pWin->viewable && pWin->backingStore != Always)
         return FALSE;
 
     (*pScreen->MarkOverlappedWindows) (pWin, pWin, &pLayerWin);
-- 
1.9.3



More information about the xorg-devel mailing list