summaryrefslogtreecommitdiff
path: root/src/sna/sna_video_sprite.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-09-23 14:15:59 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-09-23 14:17:03 +0100
commit3e276b96cb57050a9aa8ebfb210e3c4b7b2fe137 (patch)
treee4a2631df279a66c4427b268e6e301f9bd5de70e /src/sna/sna_video_sprite.c
parente4850bbbccfc86ce36fae103038e91d5034dc517 (diff)
sna/video: Add always-on-top to the list of Xv attributes
Otherwise it goes unknown, and not reported by xvinfo. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_video_sprite.c')
-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 43679a63..43cb5c4c 100644
--- a/src/sna/sna_video_sprite.c
+++ b/src/sna/sna_video_sprite.c
@@ -54,6 +54,7 @@ static XvFormatRec formats[] = { {15}, {16}, {24} };
static const XvImageRec images[] = { XVIMAGE_YUY2, XVIMAGE_UYVY, XVMC_RGB888, XVMC_RGB565 };
static const XvAttributeRec attribs[] = {
{ XvSettable | XvGettable, 0, 0xffffff, (char *)"XV_COLORKEY" },
+ { XvSettable | XvGettable, 0, 1, (char *)"XV_ALWAYS_ON_TOP" },
};
static int sna_video_sprite_stop(ClientPtr client,