Bug #9219: Use pWin->viewable instead of pWin->realized to catch InputOnly windows too.
(cherry picked from 724f9cb578
commit)
This commit is contained in:
parent
d1e8b7c4a4
commit
a092419fe7
|
@ -270,7 +270,7 @@ ProcCompositeNameWindowPixmap (ClientPtr client)
|
|||
return BadWindow;
|
||||
}
|
||||
|
||||
if (!pWin->realized)
|
||||
if (!pWin->viewable)
|
||||
return BadMatch;
|
||||
|
||||
LEGAL_NEW_RESOURCE (stuff->pixmap, client);
|
||||
|
|
Loading…
Reference in New Issue
Block a user