summaryrefslogtreecommitdiff
path: root/composite
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2006-12-05 13:44:05 -0800
committerAaron Plattner <aplattner@nvidia.com>2006-12-05 13:44:05 -0800
commit724f9cb578086e8483a2d0636dd6eb05d664d31c (patch)
treeeee6ed536e89fa20aacaf7b6ff3427608b23bb28 /composite
parent3690de9b1b0902d395bc7d071fc05ebc8f75be2b (diff)
Bug #9219: Use pWin->viewable instead of pWin->realized to catch InputOnly windows too.
Diffstat (limited to 'composite')
-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);