xserver: Branch 'server-1.5-branch'

Adam Jackson ajax at kemper.freedesktop.org
Tue Jun 24 07:57:39 PDT 2008


 composite/compalloc.c |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit a8a633478301e6d6854a7e75a0d38f63b7746ee6
Author: Adam Jackson <ajax at redhat.com>
Date:   Tue Jun 24 10:52:31 2008 -0400

    Bug #15586: (Correctly) refuse to redirect the root window.
    (cherry picked from commit 100afae578e59e31b65a6264c281ba7deea5ac39)

diff --git a/composite/compalloc.c b/composite/compalloc.c
index 0372b9b..19c7db0 100644
--- a/composite/compalloc.c
+++ b/composite/compalloc.c
@@ -82,6 +82,9 @@ compRedirectWindow (ClientPtr pClient, WindowPtr pWin, int update)
 	return Success;
     }
 
+    if (!pWin->parent)
+	return BadMatch;
+
     /*
      * Only one Manual update is allowed
      */


More information about the xorg-commit mailing list