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

(cherry picked from commit 100afae578)
This commit is contained in:
Adam Jackson 2008-06-24 10:52:31 -04:00
parent 2334ff9bb2
commit a8a6334783

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
*/