diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2008-09-17 15:48:56 -0700 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2008-09-17 15:48:56 -0700 |
commit | 37876602957924c7cff759a800eddd574ee2385a (patch) | |
tree | 42569f03870b1092e344d219cc959430bea8ff6e | |
parent | 05fb2f9e1249d0b91bf4318cec4fb309217adff4 (diff) |
Conditionalize Composite-based backing store on pScreen->backingStoreSupport.
-rw-r--r-- | composite/compinit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/composite/compinit.c b/composite/compinit.c index 49b2044b0..3bf77e0ae 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; |