Imagine an unmapped-but-backed window with children; stack changes among
those children should be reflected in clip list updates.

Signed-off-by: Adam Jackson <[email protected]>
---
 dix/window.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dix/window.c b/dix/window.c
index 551e1a1..d358960 100644
--- a/dix/window.c
+++ b/dix/window.c
@@ -2040,7 +2040,7 @@ ReflectStackChange(WindowPtr pWin, WindowPtr pSib, VTKind 
kind)
 {
 /* Note that pSib might be NULL */
 
-    Bool WasViewable = (Bool) pWin->viewable;
+    Bool WasPaintable = (Bool) pWin->paintable;
     Bool anyMarked;
     WindowPtr pFirstChange;
     WindowPtr pLayerWin;
@@ -2052,7 +2052,7 @@ ReflectStackChange(WindowPtr pWin, WindowPtr pSib, VTKind 
kind)
 
     pFirstChange = MoveWindowInStack(pWin, pSib);
 
-    if (WasViewable) {
+    if (WasPaintable) {
         anyMarked = (*pScreen->MarkOverlappedWindows) (pWin, pFirstChange,
                                                        &pLayerWin);
         if (pLayerWin != pWin)
-- 
1.9.3

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to