summaryrefslogtreecommitdiffstats
path: root/server/inputs_channel.c
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2010-11-09 14:23:36 +0200
committerAlon Levy <alevy@redhat.com>2011-03-02 17:27:51 +0200
commit966201c1ad5823c73c90981a1d70a02616140efa (patch)
treeb00345af41581d65b229557239b76e1665fcc9a6 /server/inputs_channel.c
parent5e1ba1101bf0f64deaead21ad1c5d4669ebb4a8c (diff)
downloadspice-966201c1ad5823c73c90981a1d70a02616140efa.tar.gz
spice-966201c1ad5823c73c90981a1d70a02616140efa.tar.xz
spice-966201c1ad5823c73c90981a1d70a02616140efa.zip
server/inputs_channel: s/PIPE_ITEM_INIT/PIPE_ITEM_INPUTS_INIT/
Diffstat (limited to 'server/inputs_channel.c')
-rw-r--r--server/inputs_channel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/inputs_channel.c b/server/inputs_channel.c
index 9dedc930..c8022b27 100644
--- a/server/inputs_channel.c
+++ b/server/inputs_channel.c
@@ -64,7 +64,7 @@ typedef struct InputsChannel {
} InputsChannel;
enum {
- PIPE_ITEM_INIT = SPICE_MSG_INPUTS_INIT,
+ PIPE_ITEM_INPUTS_INIT = SPICE_MSG_INPUTS_INIT,
PIPE_ITEM_MOUSE_MOTION_ACK = SPICE_MSG_INPUTS_MOUSE_MOTION_ACK,
PIPE_ITEM_KEY_MODIFIERS = SPICE_MSG_INPUTS_KEY_MODIFIERS,
PIPE_ITEM_MIGRATE = SPICE_MSG_MIGRATE,
@@ -267,7 +267,7 @@ static void inputs_channel_send_item(RedChannel *channel, PipeItem *base)
SPICE_CONTAINEROF(base, KeyModifiersPipeItem, base)->modifiers;
spice_marshall_msg_inputs_key_modifiers(m, &key_modifiers);
}
- case PIPE_ITEM_INIT:
+ case PIPE_ITEM_INPUTS_INIT:
{
SpiceMsgInputsInit inputs_init;
@@ -483,7 +483,7 @@ static void inputs_pipe_add_init(InputsChannel *inputs_channel)
InputsInitPipeItem *item = spice_malloc(sizeof(InputsInitPipeItem));
red_channel_pipe_item_init(&inputs_channel->base, &item->base,
- PIPE_ITEM_INIT);
+ PIPE_ITEM_INPUTS_INIT);
item->modifiers = kbd_get_leds(keyboard);
red_channel_pipe_add_push(&inputs_channel->base, &item->base);
}