mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 10:14:52 +00:00
Bug #9219: Use pWin->viewable instead of pWin->realized to catch InputOnly windows too.
This commit is contained in:
@@ -270,7 +270,7 @@ ProcCompositeNameWindowPixmap (ClientPtr client)
|
||||
return BadWindow;
|
||||
}
|
||||
|
||||
if (!pWin->realized)
|
||||
if (!pWin->viewable)
|
||||
return BadMatch;
|
||||
|
||||
LEGAL_NEW_RESOURCE (stuff->pixmap, client);
|
||||
|
||||
Reference in New Issue
Block a user