[Spice-devel] [PATCH 29/39] kill spice_server_set_mouse_absolute

Gerd Hoffmann kraxel at redhat.com
Tue May 18 08:43:06 PDT 2010


Not needed.  Just register/unregister the tablet interface instead.

Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
---
 server/reds.c  |    9 ---------
 server/spice.h |    2 --
 2 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/server/reds.c b/server/reds.c
index 01f610d..9b42cbf 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -4552,15 +4552,6 @@ __visible__ int spice_server_set_channel_security(SpiceServer *s, const char *ch
     return -1;
 }
 
-__visible__ int spice_server_set_mouse_absolute(SpiceServer *s, int absolute)
-{
-    uint32_t mode = absolute ? SPICE_MOUSE_MODE_CLIENT : SPICE_MOUSE_MODE_SERVER;
-
-    ASSERT(reds == s);
-    reds_set_mouse_mode(mode);
-    return 0;
-}
-
 __visible__ int spice_server_get_sock_info(SpiceServer *s, struct sockaddr *sa, socklen_t *salen)
 {
     ASSERT(reds == s);
diff --git a/server/spice.h b/server/spice.h
index f1bc80d..80291b9 100644
--- a/server/spice.h
+++ b/server/spice.h
@@ -64,8 +64,6 @@ spice_image_compression_t spice_server_get_image_compression(SpiceServer *s);
 
 int spice_server_set_channel_security(SpiceServer *s, const char *channel, int security);
 
-int spice_server_set_mouse_absolute(SpiceServer *s, int absolute);
-
 int spice_server_add_renderer(SpiceServer *s, const char *name);
 
 int spice_server_get_sock_info(SpiceServer *s, struct sockaddr *sa, socklen_t *salen);
-- 
1.6.6.1



More information about the Spice-devel mailing list