From 9a1c6afd12caf0143483f72bfbba0c4c3daaa6ff Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Tue, 6 Feb 2007 21:19:50 -0500 Subject: [PATCH] Remove dead code for screen crossing. --- hw/xfree86/common/xf86Cursor.c | 10 +++------- hw/xfree86/common/xf86Init.c | 8 -------- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/hw/xfree86/common/xf86Cursor.c b/hw/xfree86/common/xf86Cursor.c index 44c1a7733..9e6e62216 100644 --- a/hw/xfree86/common/xf86Cursor.c +++ b/hw/xfree86/common/xf86Cursor.c @@ -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 } diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c index 4418a3c61..09758986f 100644 --- a/hw/xfree86/common/xf86Init.c +++ b/hw/xfree86/common/xf86Init.c @@ -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 }