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>
This commit is contained in:
parent
68304215e2
commit
44efcdde50
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user