Conditionalize Composite-based backing store on pScreen->backingStoreSupport.
(cherry picked from commit 3787660295
)
This commit is contained in:
parent
b4762c0245
commit
97b9374a8a
|
@ -114,7 +114,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 = (pointer) (intptr_t) 1;
|
||||
|
|
Loading…
Reference in New Issue
Block a user