diff options
author | Frediano Ziglio <fziglio@redhat.com> | 2016-02-08 19:57:58 +0000 |
---|---|---|
committer | Frediano Ziglio <fziglio@redhat.com> | 2016-02-11 23:51:46 +0000 |
commit | fbdea0fa790ba3f836fe0c6d60441b716c7d0bd3 (patch) | |
tree | 94eaed791f1a01280973e08988e864c45c3c60b6 /server/cursor-channel.c | |
parent | 79e50495fe53a34cdbf2e524da2dcac4e11ee811 (diff) |
CommonChannel: hold a reference to QXLInstance instead of RedWorker
CommonChannel does not need to know about RedWorker.
This reduce a bit dependencies between objects.
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
Diffstat (limited to 'server/cursor-channel.c')
-rw-r--r-- | server/cursor-channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/cursor-channel.c b/server/cursor-channel.c index bbaac345..197376a6 100644 --- a/server/cursor-channel.c +++ b/server/cursor-channel.c @@ -489,7 +489,7 @@ void cursor_channel_process_cmd(CursorChannel *cursor, RedCursorCmd *cursor_cmd, spice_return_if_fail(cursor); spice_return_if_fail(cursor_cmd); - cursor_item = cursor_item_new(red_worker_get_qxl(cursor->common.worker), + cursor_item = cursor_item_new(cursor->common.qxl, cursor_cmd, group_id); switch (cursor_cmd->type) { |