mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-01 04:45:37 +00:00
inputs_init() -> inputs_channel_new()
Rename function to be more consistent Acked-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Pavel Grunt <pgrunt@redhat.com>
This commit is contained in:
parent
ab55619492
commit
3881abc081
@ -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, };
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -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;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user