summaryrefslogtreecommitdiffstats
path: root/unix/xserver/hw/vnc/xvnc.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix/xserver/hw/vnc/xvnc.c')
-rw-r--r--unix/xserver/hw/vnc/xvnc.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/unix/xserver/hw/vnc/xvnc.c b/unix/xserver/hw/vnc/xvnc.c
index 1f95207d..6bae8e3b 100644
--- a/unix/xserver/hw/vnc/xvnc.c
+++ b/unix/xserver/hw/vnc/xvnc.c
@@ -113,8 +113,6 @@ typedef struct {
unsigned int lineBias;
- CloseScreenProcPtr closeScreen;
-
vfbFramebufferInfo fb;
Bool pixelFormatDefined;
@@ -1109,23 +1107,6 @@ vncRandRInit(ScreenPtr pScreen)
}
static Bool
-vfbCloseScreen(ScreenPtr pScreen)
-{
- vfbScreenInfoPtr pvfb = &vfbScreens[pScreen->myNum];
-
- pScreen->CloseScreen = pvfb->closeScreen;
-
- /*
- * fb overwrites miCloseScreen, so do this here
- */
- if (pScreen->devPrivate)
- (*pScreen->DestroyPixmap) ((PixmapPtr) pScreen->devPrivate);
- pScreen->devPrivate = NULL;
-
- return pScreen->CloseScreen(pScreen);
-}
-
-static Bool
vfbScreenInit(ScreenPtr pScreen, int argc, char **argv)
{
int index = pScreen->myNum;
@@ -1250,9 +1231,6 @@ vfbScreenInit(ScreenPtr pScreen, int argc, char **argv)
miSetZeroLineBias(pScreen, pvfb->lineBias);
- pvfb->closeScreen = pScreen->CloseScreen;
- pScreen->CloseScreen = vfbCloseScreen;
-
return TRUE;
} /* end vfbScreenInit */