Remove dead code for screen crossing.
This commit is contained in:
parent
8ca2fe8914
commit
9a1c6afd12
@ -406,18 +406,14 @@ xf86CursorOffScreen(ScreenPtr *pScreen, int *x, int *y)
|
|||||||
/*
|
/*
|
||||||
* xf86CrossScreen --
|
* xf86CrossScreen --
|
||||||
* Switch to another screen
|
* Switch to another screen
|
||||||
|
*
|
||||||
|
* Currently nothing special happens, but mi assumes the CrossScreen
|
||||||
|
* method exists.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* NEED TO CHECK THIS */
|
|
||||||
/* ARGSUSED */
|
|
||||||
static void
|
static void
|
||||||
xf86CrossScreen (ScreenPtr pScreen, Bool entering)
|
xf86CrossScreen (ScreenPtr pScreen, Bool entering)
|
||||||
{
|
{
|
||||||
#if 0
|
|
||||||
if (xf86Info.sharedMonitor)
|
|
||||||
(XF86SCRNINFO(pScreen)->EnterLeaveMonitor)(entering);
|
|
||||||
(XF86SCRNINFO(pScreen)->EnterLeaveCursor)(entering);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -880,14 +880,6 @@ InitOutput(ScreenInfo *pScreenInfo, int argc, char **argv)
|
|||||||
xf86RandRInit (screenInfo.screens[scr_index]);
|
xf86RandRInit (screenInfo.screens[scr_index]);
|
||||||
xf86Msg(xf86Info.randRFrom, "RandR %s\n",
|
xf86Msg(xf86Info.randRFrom, "RandR %s\n",
|
||||||
xf86Info.disableRandR ? "disabled" : "enabled");
|
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
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user