From 724f9cb578086e8483a2d0636dd6eb05d664d31c Mon Sep 17 00:00:00 2001 From: Aaron Plattner Date: Tue, 5 Dec 2006 13:44:05 -0800 Subject: [PATCH] Bug #9219: Use pWin->viewable instead of pWin->realized to catch InputOnly windows too. --- composite/compext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);