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