Bug #15586: (Correctly) refuse to redirect the root window.
(cherry picked from commit 100afae578
)
This commit is contained in:
parent
2334ff9bb2
commit
a8a6334783
|
@ -82,6 +82,9 @@ compRedirectWindow (ClientPtr pClient, WindowPtr pWin, int update)
|
|||
return Success;
|
||||
}
|
||||
|
||||
if (!pWin->parent)
|
||||
return BadMatch;
|
||||
|
||||
/*
|
||||
* Only one Manual update is allowed
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue
Block a user