My mother died because of brain tumor I also had difficult relations with her. She had a difficult life with me when I was younger. I moved to her home for last 10 months, it was the most difficult moment in my life. I was trying somehow recoup all my mistakes, but the time passes so quickly.
I really wish you both best, and be strong as she needs you right now.