mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-31 02:41:52 +00:00
red-parse-qxl: Copy correctly brush position
This issue caused the glitches using the rectangular selection
tool in PaintShop 6.
The line was removed accidentally by "red_parse_qxl: fix throwing
away drawables that have masks" (812b65984d)
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Pavel Grunt <pavelgrunt@gmail.com>
This commit is contained in:
parent
40ca6c29c7
commit
16dea534b9
@ -616,6 +616,7 @@ static void red_get_brush_ptr(RedMemSlotInfo *slots, int group_id,
|
||||
break;
|
||||
case SPICE_BRUSH_TYPE_PATTERN:
|
||||
red->u.pattern.pat = red_get_image(slots, group_id, qxl->u.pattern.pat, flags, false);
|
||||
red_get_point_ptr(&red->u.pattern.pos, &qxl->u.pattern.pos);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user