summaryrefslogtreecommitdiff
path: root/Xext/panoramiX.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-08-13 17:28:08 -0400
committerAdam Jackson <ajax@redhat.com>2008-08-13 17:28:08 -0400
commit0ce687634fa5e0d955e896a0d0d5f584a4cfd1a4 (patch)
tree97473dd6b8d5526575ebf91f6d8323a2b4a79ba4 /Xext/panoramiX.c
parentf456f32cd97684052cab4712e7f4c827132c554b (diff)
Eviscerate save-under support.
Use a compositing manager already. Plus I really wanted to use 'eviscerate' in a commit message.
Diffstat (limited to 'Xext/panoramiX.c')
-rw-r--r--Xext/panoramiX.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/Xext/panoramiX.c b/Xext/panoramiX.c
index b690593ed..17f587b1e 100644
--- a/Xext/panoramiX.c
+++ b/Xext/panoramiX.c
@@ -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;
}
}