[PATCH 20/37] dix: ReflectStackChange based on paintable not viewable
Adam Jackson
ajax at redhat.com
Wed Oct 8 08:04:44 PDT 2014
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 <ajax at redhat.com>
---
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
More information about the xorg-devel
mailing list