entity sharing: make !shareable entity non-fatal.
Just because the entity isn't shareable, we should bring down the server. Just ignore the extra screen and keep going.
This commit is contained in:
parent
50e80c3987
commit
7ef7727b80
|
@ -290,8 +290,10 @@ xf86AddEntityToScreen(ScrnInfoPtr pScrn, int entityIndex)
|
|||
if (entityIndex == -1)
|
||||
return;
|
||||
if (xf86Entities[entityIndex]->inUse &&
|
||||
!(xf86Entities[entityIndex]->entityProp & IS_SHARED_ACCEL))
|
||||
FatalError("Requested Entity already in use!\n");
|
||||
!(xf86Entities[entityIndex]->entityProp & IS_SHARED_ACCEL)) {
|
||||
ErrorF("Requested Entity already in use!\n");
|
||||
return;
|
||||
}
|
||||
|
||||
pScrn->numEntities++;
|
||||
pScrn->entityList = xnfrealloc(pScrn->entityList,
|
||||
|
|
Loading…
Reference in New Issue
Block a user