C itself wasn't the problem but rather learning to use Xlib and Cairo was very difficult. A massive amount of code that I found on the internet was un-compilable. The documentation is extremely old and I was relying a lot on taking already existing code and playing around with it until I learn the intricacies.