[Spice-commits] Branch '0.12' - server/red_parse_qxl.c

Frediano Ziglio fziglio at kemper.freedesktop.org
Mon Jan 22 10:52:17 UTC 2018


 server/red_parse_qxl.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit b77dfdce8a8c2f1898a5173c5e6b1692d2d2601a
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Sat Jan 13 00:12:12 2018 +0000

    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" (812b65984d286414170c6243bd3323b73a405ec3)
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Pavel Grunt <pavelgrunt at gmail.com>
    Acked-by: Uri Lublin <uril at redhat.com>

diff --git a/server/red_parse_qxl.c b/server/red_parse_qxl.c
index 52425d4c..f1902e7f 100644
--- a/server/red_parse_qxl.c
+++ b/server/red_parse_qxl.c
@@ -596,6 +596,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;
     }
 }


More information about the Spice-commits mailing list