xf86-video-intel: src/sna/sna_video_sprite.c

Chris Wilson ickle at kemper.freedesktop.org
Tue Aug 27 11:08:10 PDT 2013


 src/sna/sna_video_sprite.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit c451a471fbe1553c0273f3bd12f3c1a42f7ce193
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Tue Aug 27 19:06:52 2013 +0100

    sna/video: Copy the ClipRegion for the sprite
    
    A cut'n'paste error dropped the clip region copy, resulting in the
    port not being set on the window instead.
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/sna/sna_video_sprite.c b/src/sna/sna_video_sprite.c
index 54a70f7..43679a6 100644
--- a/src/sna/sna_video_sprite.c
+++ b/src/sna/sna_video_sprite.c
@@ -428,6 +428,7 @@ static int sna_video_sprite_put_image(ClientPtr client,
 				       video->color_key,
 				       RegionRects(&clip),
 				       RegionNumRects(&clip)))
+			RegionCopy(&video->clip, &clip);
 		sna_window_set_port((WindowPtr)draw, port);
 	}
 


More information about the xorg-commit mailing list