mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-04 15:20:34 +01:00
Conditionalize Composite-based backing store on pScreen->backingStoreSupport.
This commit is contained in:
parent
05fb2f9e12
commit
3787660295
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue