Remove dead code for screen crossing.

This commit is contained in:
Adam Jackson 2007-02-06 21:19:50 -05:00
parent 8ca2fe8914
commit 9a1c6afd12
2 changed files with 3 additions and 15 deletions

View File

@ -406,18 +406,14 @@ xf86CursorOffScreen(ScreenPtr *pScreen, int *x, int *y)
/*
* xf86CrossScreen --
* Switch to another screen
*
* Currently nothing special happens, but mi assumes the CrossScreen
* method exists.
*/
/* NEED TO CHECK THIS */
/* ARGSUSED */
static void
xf86CrossScreen (ScreenPtr pScreen, Bool entering)
{
#if 0
if (xf86Info.sharedMonitor)
(XF86SCRNINFO(pScreen)->EnterLeaveMonitor)(entering);
(XF86SCRNINFO(pScreen)->EnterLeaveCursor)(entering);
#endif
}

View File

@ -880,14 +880,6 @@ InitOutput(ScreenInfo *pScreenInfo, int argc, char **argv)
xf86RandRInit (screenInfo.screens[scr_index]);
xf86Msg(xf86Info.randRFrom, "RandR %s\n",
xf86Info.disableRandR ? "disabled" : "enabled");
#endif
#ifdef NOT_USED
/*
* Here we have to let the driver getting access of the VT. Note that
* this doesn't mean that the graphics board may access automatically
* the monitor. If the monitor is shared this is done in xf86CrossScreen!
*/
if (!xf86Info.sharedMonitor) (xf86Screens[i]->EnterLeaveMonitor)(ENTER);
#endif
}