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) { 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; } } -- 2.7.4 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel