[Spice-devel] [PATCH 08/10] server/inputs_channel: use outgoing marshaller in red_channel/RedChannel
Hans de Goede
hdegoede at redhat.com
Wed Jan 12 23:52:38 PST 2011
Hi,
Hi,
On 01/13/2011 06:01 AM, Alon Levy wrote:
<snip>
> -static void inputs_pipe_add_init(InputsChannel *channel)
> +static void inputs_pipe_add_init(InputsChannel *inputs_channel)
> {
> - SpiceMsgInputsInit inputs_init;
> - InputsPipeItem *pipe_item = inputs_pipe_item_new(channel, PIPE_ITEM_INIT);
> - SpiceMarshaller *m = pipe_item->m;
> + InputsPipeItem *item = inputs_pipe_item_new(inputs_channel, PIPE_ITEM_INIT);
>
> - inputs_init.keyboard_modifiers = kbd_get_leds(keyboard);
> - spice_marshall_msg_inputs_init(m,&inputs_init);
> - red_channel_pipe_add(&channel->base,&pipe_item->base);
> + red_channel_pipe_add(&inputs_channel->base,&item->base);
> }
>
You seem to no longer be setting the keyboard_modifiers of the init message.
<snip>
Regards,
Hans
More information about the Spice-devel
mailing list