diff --git a/server/inputs-channel.c b/server/inputs-channel.c index e4974c24..927fa718 100644 --- a/server/inputs-channel.c +++ b/server/inputs-channel.c @@ -605,7 +605,7 @@ static int inputs_channel_handle_migrate_data(RedChannelClient *rcc, return TRUE; } -InputsChannel* inputs_init(void) +InputsChannel* inputs_channel_new(void) { ChannelCbs channel_cbs = { NULL, }; ClientCbs client_cbs = { NULL, }; diff --git a/server/inputs-channel.h b/server/inputs-channel.h index ecd1dd7d..d26ae430 100644 --- a/server/inputs-channel.h +++ b/server/inputs-channel.h @@ -26,7 +26,7 @@ typedef struct InputsChannel InputsChannel; -InputsChannel* inputs_init(void); +InputsChannel* inputs_channel_new(void); const VDAgentMouseState *inputs_channel_get_mouse_state(InputsChannel *inputs); void inputs_channel_on_keyboard_leds_change(InputsChannel *inputs, uint8_t leds); void inputs_channel_set_tablet_logical_size(InputsChannel *inputs, int x_res, int y_res); diff --git a/server/reds.c b/server/reds.c index 3322ede7..420e459b 100644 --- a/server/reds.c +++ b/server/reds.c @@ -3416,7 +3416,7 @@ static int do_spice_init(RedsState *reds, SpiceCoreInterface *core_interface) #endif reds->main_channel = main_channel_init(); - reds->inputs_channel = inputs_init(); + reds->inputs_channel = inputs_channel_new(); reds->mouse_mode = SPICE_MOUSE_MODE_SERVER;