diff options
author | Jamey Sharp <jamey@minilop.net> | 2009-10-07 09:07:03 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-10-07 12:46:38 -0700 |
commit | 44efcdde501d54ca9c3e33ab5b1f699956fc3f9f (patch) | |
tree | cceb76aff66b1d5269f706059c80f302c76ccc75 /Xext/xvdisp.c | |
parent | 68304215e25876ee639015969b4f07e1c9c515e0 (diff) |
Fix overlay detection when matching Xv adaptors across screens.
Signed-off-by: Jamey Sharp <jamey@minilop.net>
Acked-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'Xext/xvdisp.c')
-rw-r--r-- | Xext/xvdisp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xext/xvdisp.c b/Xext/xvdisp.c index 04cd11a3f..5229916a9 100644 --- a/Xext/xvdisp.c +++ b/Xext/xvdisp.c @@ -1912,7 +1912,7 @@ void XineramifyXv(void) if((pAdapt->type & XvImageMask) && (pAdapt->nImages > 0)) { hasOverlay = FALSE; for(l = 0; l < pAdapt->nAttributes; l++) { - if(!strcmp(pAdapt->name, "XV_COLORKEY")) { + if(!strcmp(pAdapt->pAttributes[l].name, "XV_COLORKEY")) { hasOverlay = TRUE; break; } |