diff --git a/server/cursor-channel.c b/server/cursor-channel.c index 6cc2b93b..ee6520f2 100644 --- a/server/cursor-channel.c +++ b/server/cursor-channel.c @@ -357,7 +357,7 @@ static void cursor_channel_release_item(RedChannelClient *rcc, PipeItem *item, i } } -CursorChannel* cursor_channel_new(RedWorker *worker, int migrate) +CursorChannel* cursor_channel_new(RedWorker *worker) { CursorChannel* cursor; diff --git a/server/cursor-channel.h b/server/cursor-channel.h index 2c19859f..6a26bdb7 100644 --- a/server/cursor-channel.h +++ b/server/cursor-channel.h @@ -77,7 +77,7 @@ typedef struct CursorChannel { G_STATIC_ASSERT(sizeof(CursorItem) <= QXL_CURSUR_DEVICE_DATA_SIZE); -CursorChannel* cursor_channel_new (RedWorker *worker, int migrate); +CursorChannel* cursor_channel_new (RedWorker *worker); void cursor_channel_disconnect (RedChannel *channel); void cursor_channel_reset (CursorChannel *cursor); void cursor_channel_process_cmd (CursorChannel *cursor, RedCursorCmd *cursor_cmd, diff --git a/server/red_worker.c b/server/red_worker.c index c8e4b2ca..9a4869f5 100644 --- a/server/red_worker.c +++ b/server/red_worker.c @@ -10632,7 +10632,7 @@ void handle_dev_cursor_channel_create(void *opaque, void *payload) // TODO: handle seemless migration. Temp, setting migrate to FALSE if (!worker->cursor_channel) { - worker->cursor_channel = cursor_channel_new(worker, FALSE); + worker->cursor_channel = cursor_channel_new(worker); } red_channel = &worker->cursor_channel->common.base; send_data(worker->channel, &red_channel, sizeof(RedChannel *));