mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-04 23:28:05 +02:00
Conditionalize Composite-based backing store on pScreen->backingStoreSupport.
(cherry picked from commit 3787660295)
This commit is contained in:
parent
b4762c0245
commit
97b9374a8a
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue