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:
For the sake of understanding I would also be interested in suggestions how to start a window manager from scratch
You may want to have a look at the aewm window manager. The code is small and it does the basics quite well. It's written in C and uses Xlib.
http://www.red-bean.com/decklin/aewm/