dix: Remove WindowRec::backStorage

This is only being set, never read.
This commit is contained in:
Adam Jackson 2019-03-14 16:37:35 -04:00 committed by Adam Jackson
parent 0f477cc68b
commit 6975807945
3 changed files with 0 additions and 4 deletions

View File

@ -110,12 +110,10 @@ compCheckBackingStore(WindowPtr pWin)
{
if (pWin->backingStore != NotUseful) {
compRedirectWindow(serverClient, pWin, CompositeRedirectAutomatic);
pWin->backStorage = TRUE;
}
else {
compUnredirectWindow(serverClient, pWin,
CompositeRedirectAutomatic);
pWin->backStorage = FALSE;
}
}

View File

@ -484,7 +484,6 @@ SetWindowToDefaults(WindowPtr pWin)
pWin->cursorIsNone = TRUE;
pWin->backingStore = NotUseful;
pWin->backStorage = 0;
pWin->mapped = FALSE; /* off */
pWin->realized = FALSE; /* off */

View File

@ -149,7 +149,6 @@ typedef struct _Window {
unsigned borderIsPixel:1;
unsigned cursorIsNone:1; /* else real cursor (might inherit) */
unsigned backingStore:2;
unsigned backStorage:1; /* if bs is allocated */
unsigned saveUnder:1;
unsigned bitGravity:4;
unsigned winGravity:4;