xserver: Branch 'server-1.5-branch'

Aaron Plattner aplattner at kemper.freedesktop.org
Wed Sep 17 17:00:22 PDT 2008


 composite/compinit.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 37876602957924c7cff759a800eddd574ee2385a
Author: Aaron Plattner <aplattner at nvidia.com>
Date:   Wed Sep 17 15:48:56 2008 -0700

    Conditionalize Composite-based backing store on pScreen->backingStoreSupport.

diff --git a/composite/compinit.c b/composite/compinit.c
index 49b2044..3bf77e0 100644
--- a/composite/compinit.c
+++ b/composite/compinit.c
@@ -119,7 +119,8 @@ compChangeWindowAttributes(WindowPtr pWin, unsigned long mask)
     pScreen->ChangeWindowAttributes = cs->ChangeWindowAttributes;
     ret = pScreen->ChangeWindowAttributes(pWin, mask);
 
-    if (ret && (mask & CWBackingStore)) {
+    if (ret && (mask & CWBackingStore) &&
+	    pScreen->backingStoreSupport != NotUseful) {
 	if (pWin->backingStore != NotUseful) {
 	    compRedirectWindow(serverClient, pWin, CompositeRedirectAutomatic);
 	    pWin->backStorage = TRUE;


More information about the xorg-commit mailing list