dix: Remove WindowRec::backStorage
This is only being set, never read.
This commit is contained in:
parent
0f477cc68b
commit
6975807945
|
@ -110,12 +110,10 @@ compCheckBackingStore(WindowPtr pWin)
|
||||||
{
|
{
|
||||||
if (pWin->backingStore != NotUseful) {
|
if (pWin->backingStore != NotUseful) {
|
||||||
compRedirectWindow(serverClient, pWin, CompositeRedirectAutomatic);
|
compRedirectWindow(serverClient, pWin, CompositeRedirectAutomatic);
|
||||||
pWin->backStorage = TRUE;
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
compUnredirectWindow(serverClient, pWin,
|
compUnredirectWindow(serverClient, pWin,
|
||||||
CompositeRedirectAutomatic);
|
CompositeRedirectAutomatic);
|
||||||
pWin->backStorage = FALSE;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -484,7 +484,6 @@ SetWindowToDefaults(WindowPtr pWin)
|
||||||
pWin->cursorIsNone = TRUE;
|
pWin->cursorIsNone = TRUE;
|
||||||
|
|
||||||
pWin->backingStore = NotUseful;
|
pWin->backingStore = NotUseful;
|
||||||
pWin->backStorage = 0;
|
|
||||||
|
|
||||||
pWin->mapped = FALSE; /* off */
|
pWin->mapped = FALSE; /* off */
|
||||||
pWin->realized = FALSE; /* off */
|
pWin->realized = FALSE; /* off */
|
||||||
|
|
|
@ -149,7 +149,6 @@ typedef struct _Window {
|
||||||
unsigned borderIsPixel:1;
|
unsigned borderIsPixel:1;
|
||||||
unsigned cursorIsNone:1; /* else real cursor (might inherit) */
|
unsigned cursorIsNone:1; /* else real cursor (might inherit) */
|
||||||
unsigned backingStore:2;
|
unsigned backingStore:2;
|
||||||
unsigned backStorage:1; /* if bs is allocated */
|
|
||||||
unsigned saveUnder:1;
|
unsigned saveUnder:1;
|
||||||
unsigned bitGravity:4;
|
unsigned bitGravity:4;
|
||||||
unsigned winGravity:4;
|
unsigned winGravity:4;
|
||||||
|
|
Loading…
Reference in New Issue