mipointer: Remove deprecated miPointerCurrentScreen
The only remaining use was in some debugging code in DMX. Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Mark Kettenis <kettenis@openbsd.org> Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
@@ -419,10 +419,9 @@ dmxBackendCollectEvents(DevicePtr pDev,
|
||||
}
|
||||
break;
|
||||
case MotionNotify:
|
||||
DMXDBG9("dmxBackendCollectEvents: MotionNotify %d/%d (mi %d)"
|
||||
DMXDBG8("dmxBackendCollectEvents: MotionNotify %d/%d"
|
||||
" newscreen=%d: %d %d (e=%d; last=%d,%d)\n",
|
||||
dmxScreen->index, priv->myScreen,
|
||||
miPointerCurrentScreen()->myNum,
|
||||
priv->newscreen,
|
||||
X.xmotion.x, X.xmotion.y,
|
||||
entered, priv->lastX, priv->lastY);
|
||||
@@ -579,9 +578,6 @@ dmxBackendLateReInit(DevicePtr pDev)
|
||||
GETPRIVFROMPDEV;
|
||||
int x, y;
|
||||
|
||||
DMXDBG1("dmxBackendLateReInit miPointerCurrentScreen() = %p\n",
|
||||
miPointerCurrentScreen());
|
||||
|
||||
dmxBackendSameDisplay(NULL, 0); /* Invalidate cache */
|
||||
dmxBackendInitPrivate(pDev);
|
||||
dmxBackendComputeCenter(priv);
|
||||
|
||||
Reference in New Issue
Block a user