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