As of now, I am trying to getter a better understanding of X11. There is no functionality and the code is an absolute mess. Besides the lack of structure and good abstraction, there are other issues:
As I said: This is for learning right now.