mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-27 21:22:26 +00:00
Eviscerate save-under support.
Use a compositing manager already. Plus I really wanted to use 'eviscerate' in a commit message.
This commit is contained in:
parent
f456f32cd9
commit
0ce687634f
14 changed files with 7 additions and 545 deletions
|
|
@ -588,7 +588,6 @@ Bool PanoramiXCreateConnectionBlock(void)
|
|||
{
|
||||
int i, j, length;
|
||||
Bool disableBackingStore = FALSE;
|
||||
Bool disableSaveUnders = FALSE;
|
||||
int old_width, old_height;
|
||||
float width_mult, height_mult;
|
||||
xWindowRoot *root;
|
||||
|
|
@ -614,17 +613,12 @@ Bool PanoramiXCreateConnectionBlock(void)
|
|||
}
|
||||
if(pScreen->backingStoreSupport != screenInfo.screens[0]->backingStoreSupport)
|
||||
disableBackingStore = TRUE;
|
||||
if(pScreen->saveUnderSupport != screenInfo.screens[0]->saveUnderSupport)
|
||||
disableSaveUnders = TRUE;
|
||||
}
|
||||
|
||||
if(disableBackingStore || disableSaveUnders) {
|
||||
for(i = 0; i < screenInfo.numScreens; i++) {
|
||||
if (disableBackingStore) {
|
||||
for (i = 0; i < screenInfo.numScreens; i++) {
|
||||
pScreen = screenInfo.screens[i];
|
||||
if(disableBackingStore)
|
||||
pScreen->backingStoreSupport = NotUseful;
|
||||
if(disableSaveUnders)
|
||||
pScreen->saveUnderSupport = NotUseful;
|
||||
pScreen->backingStoreSupport = NotUseful;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue