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