[PATCH 22/37] dix: MapWindow based on paintable as well
Adam Jackson
ajax at redhat.com
Wed Oct 8 08:04:46 PDT 2014
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 f3b6d2e..b0c2d9f 100644
--- a/dix/window.c
+++ b/dix/window.c
@@ -2568,7 +2568,7 @@ MapWindow(WindowPtr pWin, ClientPtr client)
if (SubStrSend(pWin, pParent))
DeliverMapNotify(pWin);
- if (!pParent->realized)
+ if (!pParent->realized && !pParent->paintable)
return Success;
RealizeTree(pWin);
if (pWin->viewable) {
@@ -2637,7 +2637,7 @@ MapSubwindows(WindowPtr pParent, ClientPtr client)
if (!pFirstMapped)
pFirstMapped = pWin;
- if (pParent->realized) {
+ if (pParent->realized || pParent->paintable) {
RealizeTree(pWin);
if (pWin->viewable) {
anyMarked |= (*pScreen->MarkOverlappedWindows) (pWin, pWin,
--
1.9.3
More information about the xorg-devel
mailing list