mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-24 21:50:15 +01:00
Bug #9219: Use pWin->viewable instead of pWin->realized to catch InputOnly windows too.
This commit is contained in:
parent
3690de9b1b
commit
724f9cb578
1 changed files with 1 additions and 1 deletions
|
|
@ -270,7 +270,7 @@ ProcCompositeNameWindowPixmap (ClientPtr client)
|
|||
return BadWindow;
|
||||
}
|
||||
|
||||
if (!pWin->realized)
|
||||
if (!pWin->viewable)
|
||||
return BadMatch;
|
||||
|
||||
LEGAL_NEW_RESOURCE (stuff->pixmap, client);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue