summaryrefslogtreecommitdiff
path: root/composite/compext.c
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2006-12-05 13:44:05 -0800
committerAdam Jackson <ajax@benzedrine.nwnk.net>2006-12-10 18:21:22 -0500
commita092419fe7a9f3c5602842d1aa98fa3c4089f058 (patch)
tree9eec2660a76ce80c4b5a561718fe5fc9d21d97e2 /composite/compext.c
parentd1e8b7c4a4dcbeefbe93fe0de0270593a8d80b94 (diff)
Bug #9219: Use pWin->viewable instead of pWin->realized to catch InputOnly windows too.
(cherry picked from 724f9cb578086e8483a2d0636dd6eb05d664d31c commit)
Diffstat (limited to 'composite/compext.c')
-rw-r--r--composite/compext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/composite/compext.c b/composite/compext.c
index ec5e1fab9..13936fa18 100644
--- a/composite/compext.c
+++ b/composite/compext.c
@@ -270,7 +270,7 @@ ProcCompositeNameWindowPixmap (ClientPtr client)
return BadWindow;
}
- if (!pWin->realized)
+ if (!pWin->viewable)
return BadMatch;
LEGAL_NEW_RESOURCE (stuff->pixmap, client);