summaryrefslogtreecommitdiffstats
path: root/server/cursor-channel.h
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2015-10-29 16:54:45 -0500
committerFrediano Ziglio <fziglio@redhat.com>2015-10-30 08:47:56 +0000
commit30c9ff7a8fcbf3e6cb9a7c1f8030c5e8b40f2f0b (patch)
treea36c8d50bdef2c2abb7b2e9b427fe714a822a22d /server/cursor-channel.h
parent591f39e7ccd1f9b5ba1839c937883970e1bfefdb (diff)
downloadspice-30c9ff7a8fcbf3e6cb9a7c1f8030c5e8b40f2f0b.tar.gz
spice-30c9ff7a8fcbf3e6cb9a7c1f8030c5e8b40f2f0b.tar.xz
spice-30c9ff7a8fcbf3e6cb9a7c1f8030c5e8b40f2f0b.zip
CursorChannel* arg in cursor_channel_client_new()
Instead of passing a CommonChannel* argument, use CursorChannel* since this function is only valid for CursorChannels. Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
Diffstat (limited to 'server/cursor-channel.h')
-rw-r--r--server/cursor-channel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/cursor-channel.h b/server/cursor-channel.h
index 6a26bdb7..19142269 100644
--- a/server/cursor-channel.h
+++ b/server/cursor-channel.h
@@ -87,7 +87,7 @@ CursorItem* cursor_item_new (RedCursorCmd *cmd, uint32_t gro
void cursor_item_unref (QXLInstance *qxl, CursorItem *cursor);
-CursorChannelClient *cursor_channel_client_new(CommonChannel *common,
+CursorChannelClient* cursor_channel_client_new(CursorChannel *cursor,
RedClient *client, RedsStream *stream,
int mig_target,
uint32_t *common_caps, int num_common_caps,