Bug #15586: (Correctly) refuse to redirect the root window.

This commit is contained in:
Adam Jackson 2008-06-24 10:52:31 -04:00
parent 4c4e06af79
commit 100afae578
1 changed files with 3 additions and 0 deletions

View File

@ -82,6 +82,9 @@ compRedirectWindow (ClientPtr pClient, WindowPtr pWin, int update)
return Success;
}
if (!pWin->parent)
return BadMatch;
/*
* Only one Manual update is allowed
*/