mipointer: Remove EnqueueEvent from miPointerScreenFuncRec
No DDX overrode this, and we never actually called through that slot anyway. Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
ad076dc6e8
commit
4dca026880
|
@ -197,7 +197,6 @@ miPointerScreenFuncRec dmxPointerCursorFuncs = {
|
||||||
dmxCursorOffScreen,
|
dmxCursorOffScreen,
|
||||||
dmxCrossScreen,
|
dmxCrossScreen,
|
||||||
dmxWarpCursor,
|
dmxWarpCursor,
|
||||||
NULL,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/** Create a list of screens that we'll manipulate. */
|
/** Create a list of screens that we'll manipulate. */
|
||||||
|
|
|
@ -823,7 +823,6 @@ miPointerScreenFuncRec ephyrPointerScreenFuncs = {
|
||||||
ephyrCursorOffScreen,
|
ephyrCursorOffScreen,
|
||||||
ephyrCrossScreen,
|
ephyrCrossScreen,
|
||||||
ephyrWarpCursor,
|
ephyrWarpCursor,
|
||||||
NULL,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef XF86DRI
|
#ifdef XF86DRI
|
||||||
|
|
|
@ -72,8 +72,6 @@ static miPointerScreenFuncRec xf86PointerScreenFuncs = {
|
||||||
xf86CursorOffScreen,
|
xf86CursorOffScreen,
|
||||||
xf86CrossScreen,
|
xf86CrossScreen,
|
||||||
xf86WarpCursor,
|
xf86WarpCursor,
|
||||||
/* let miPointerInitialize take care of these */
|
|
||||||
NULL,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static xf86ScreenLayoutRec xf86ScreenLayout[MAXSCREENS];
|
static xf86ScreenLayoutRec xf86ScreenLayout[MAXSCREENS];
|
||||||
|
|
|
@ -305,7 +305,6 @@ static miPointerScreenFuncRec quartzScreenFuncsRec = {
|
||||||
QuartzCursorOffScreen,
|
QuartzCursorOffScreen,
|
||||||
QuartzCrossScreen,
|
QuartzCrossScreen,
|
||||||
QuartzWarpCursor,
|
QuartzWarpCursor,
|
||||||
NULL,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -118,11 +118,6 @@ miPointerInitialize(ScreenPtr pScreen,
|
||||||
return FALSE;
|
return FALSE;
|
||||||
pScreenPriv->spriteFuncs = spriteFuncs;
|
pScreenPriv->spriteFuncs = spriteFuncs;
|
||||||
pScreenPriv->screenFuncs = screenFuncs;
|
pScreenPriv->screenFuncs = screenFuncs;
|
||||||
/*
|
|
||||||
* check for uninitialized methods
|
|
||||||
*/
|
|
||||||
if (!screenFuncs->EnqueueEvent)
|
|
||||||
screenFuncs->EnqueueEvent = mieqEnqueue;
|
|
||||||
pScreenPriv->waitForUpdate = waitForUpdate;
|
pScreenPriv->waitForUpdate = waitForUpdate;
|
||||||
pScreenPriv->showTransparent = FALSE;
|
pScreenPriv->showTransparent = FALSE;
|
||||||
pScreenPriv->CloseScreen = pScreen->CloseScreen;
|
pScreenPriv->CloseScreen = pScreen->CloseScreen;
|
||||||
|
|
|
@ -71,9 +71,6 @@ typedef struct _miPointerScreenFuncRec {
|
||||||
int /* x */ ,
|
int /* x */ ,
|
||||||
int /* y */
|
int /* y */
|
||||||
);
|
);
|
||||||
void (*EnqueueEvent) (DeviceIntPtr /* pDev */ ,
|
|
||||||
InternalEvent * /* event */
|
|
||||||
);
|
|
||||||
} miPointerScreenFuncRec, *miPointerScreenFuncPtr;
|
} miPointerScreenFuncRec, *miPointerScreenFuncPtr;
|
||||||
|
|
||||||
extern _X_EXPORT Bool miDCInitialize(ScreenPtr /*pScreen */ ,
|
extern _X_EXPORT Bool miDCInitialize(ScreenPtr /*pScreen */ ,
|
||||||
|
|
Loading…
Reference in New Issue