Creating a window manager for Linux

后端 未结 8 841
囚心锁ツ
囚心锁ツ 2020-12-23 10:45

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

8条回答
  •  Happy的楠姐
    2020-12-23 11:07

    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:

    • The Xlib Manual
    • Xlib Programming Manual (O'Reilly & Associates, Inc.)
    • Inter-Client Communication Conventions Manual
    • Extended Window Manager Hints

提交回复
热议问题