kdrive: update kdrive to new mi API with additional device argument. Includes

an update of ati_cursor.c and i810_cursor.c
This commit is contained in:
Peter Hutterer
2007-03-14 17:42:30 +10:30
parent c3eb248cf9
commit c5b07fb717
5 changed files with 25 additions and 22 deletions

View File

@@ -2219,11 +2219,11 @@ KdCrossScreen(ScreenPtr pScreen, Bool entering)
int KdCurScreen; /* current event screen */
static void
KdWarpCursor (ScreenPtr pScreen, int x, int y)
KdWarpCursor (DeviceIntPtr pDev, ScreenPtr pScreen, int x, int y)
{
KdBlockSigio ();
KdCurScreen = pScreen->myNum;
miPointerWarpCursor (pScreen, x, y);
miPointerWarpCursor(pDev, pScreen, x, y);
KdUnblockSigio ();
}
@@ -2238,7 +2238,7 @@ void
ProcessInputEvents ()
{
mieqProcessInputEvents();
miPointerUpdate();
miPointerUpdateSprite(inputInfo.pointer);
if (kdSwitchPending)
KdProcessSwitch ();
KdCheckLock ();