Deductions & credits

Because my mother had the exclusion in the warranty deed that she was to live there until she longer could (and she passed away at home), are we basing any capital gains on when she deeded it over in 2011 or at her passing? Seems to be so many interpretations, I am not sure we inherited it at her passing or it was gifted. Since she remained in the house and we couldn’t sell it until she died, based on the exclusion in the warranty deed,  is this considered an inheritance at passing  or a gift in 2011?