On Fri, 2016-06-03 at 10:59 +0100, Frediano Ziglio wrote: > Use red_record_cursor_cmd to be able to record cursor commands. > > Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> > --- > server/red-record-qxl.c | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/server/red-record-qxl.c b/server/red-record-qxl.c > index 39d6639..9b7d2af 100644 > --- a/server/red-record-qxl.c > +++ b/server/red-record-qxl.c > @@ -763,8 +763,8 @@ static void red_record_cursor(FILE *fd, RedMemSlotInfo > *slots, int group_id, > &qxl->chunk); > } > > -void red_record_cursor_cmd(FILE *fd, RedMemSlotInfo *slots, int group_id, > - QXLPHYSICAL addr) > +static void red_record_cursor_cmd(FILE *fd, RedMemSlotInfo *slots, int > group_id, > + QXLPHYSICAL addr) This change isn't strictly related. On the other hand, it's so small I don't know if it makes sense to split it or not. Your choice. > { > QXLCursorCmd *qxl; > int error; > @@ -834,6 +834,9 @@ void red_record_qxl_command(RedRecord *record, > RedMemSlotInfo *slots, > case QXL_CMD_SURFACE: > red_record_surface_cmd(fd, slots, ext_cmd.group_id, > ext_cmd.cmd.data); > break; > + case QXL_CMD_CURSOR: > + red_record_cursor_cmd(fd, slots, ext_cmd.group_id, ext_cmd.cmd.data); > + break; > } > } > Acked-by: Jonathon Jongsma <jjongsma@xxxxxxxxxx> _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel