summaryrefslogtreecommitdiff
path: root/mi
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2012-10-18 14:24:22 -0400
committerAdam Jackson <ajax@redhat.com>2013-09-10 13:29:21 -0400
commite4b15125bb06c97f1f34f7074fcdb597e718399c (patch)
treea1d10d6d1953ef09ed69b941df8bc8e665465290 /mi
parentb5d66b9513a0f1e13f5c5bc9e0958f4eac9bf6c3 (diff)
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>
Diffstat (limited to 'mi')
-rw-r--r--mi/mipointer.c9
-rw-r--r--mi/mipointer.h5
2 files changed, 0 insertions, 14 deletions
diff --git a/mi/mipointer.c b/mi/mipointer.c
index f07c5dbf5..5d591a1dc 100644
--- a/mi/mipointer.c
+++ b/mi/mipointer.c
@@ -481,15 +481,6 @@ miPointerSetScreen(DeviceIntPtr pDev, int screen_no, int x, int y)
}
/**
- * @return The current screen of the VCP
- */
-ScreenPtr
-miPointerCurrentScreen(void)
-{
- return miPointerGetScreen(inputInfo.pointer);
-}
-
-/**
* @return The current screen of the given device or NULL.
*/
ScreenPtr
diff --git a/mi/mipointer.h b/mi/mipointer.h
index 33261ab3e..bdeed1242 100644
--- a/mi/mipointer.h
+++ b/mi/mipointer.h
@@ -91,11 +91,6 @@ extern _X_EXPORT void miPointerWarpCursor(DeviceIntPtr /*pDev */ ,
int /*y */
);
-/* Deprecated in favour of miPointerGetScreen. */
-extern _X_EXPORT ScreenPtr
-miPointerCurrentScreen(void
-) _X_DEPRECATED;
-
extern _X_EXPORT ScreenPtr
miPointerGetScreen(DeviceIntPtr pDev);
extern _X_EXPORT void