I want to create a simple stacking window manager (in C) for private use, mainly for the purpose of learning and challenging myself.
I\'ve looked throug
A very minimalistic WM is wm2. I haven't read the source code and hence I don't know if it is a teaching example. Of course you can use libraries that already do much of the abstraction and drawing work for you like gdk and gtk. But since this project is only for personal learning, I'd go the hard way and use Xlib directly.
Here are some links that might be useful for you: