diff options
Diffstat (limited to 'composite/compext.c')
-rw-r--r-- | composite/compext.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/composite/compext.c b/composite/compext.c index 8b1d45403..dde22b2d2 100644 --- a/composite/compext.c +++ b/composite/compext.c @@ -231,6 +231,9 @@ ProcCompositeNameWindowPixmap (ClientPtr client) if (!cw) return BadMatch; + if (!pWin->mapped) + return BadMatch; + pPixmap = (*pWin->drawable.pScreen->GetWindowPixmap) (pWin); if (!pPixmap) return BadMatch; |