summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-08-16 21:47:25 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-08-16 22:03:25 +0100
commitd8c9b2c85256c870f9677a590f190856826c821c (patch)
tree9c1c384d92e129fd34460ccb4ba06214515aef8b
parent85e89f2121bad96d34ff8df9456e2fbaa9ff7881 (diff)
downloadxf86-video-intel-d8c9b2c85256c870f9677a590f190856826c821c.tar.gz
xf86-video-intel-d8c9b2c85256c870f9677a590f190856826c821c.tar.bz2
xf86-video-intel-d8c9b2c85256c870f9677a590f190856826c821c.zip
sna/video: Mark the sprite color key as changed when disabling
Otherwise we will forgot to send the command to turn off the colorkey. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/sna_video_sprite.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/sna_video_sprite.c b/src/sna/sna_video_sprite.c
index 221ba793a..1a1883baf 100644
--- a/src/sna/sna_video_sprite.c
+++ b/src/sna/sna_video_sprite.c
@@ -91,6 +91,7 @@ static int sna_video_sprite_set_attr(ClientPtr client,
} else if (attribute == xvAlwaysOnTop) {
DBG(("%s: ALWAYS_ON_TOP: %d -> %d\n", __FUNCTION__,
video->AlwaysOnTop, !!value));
+ video->color_key_changed = true;
video->AlwaysOnTop = !!value;
} else
return BadMatch;