Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
The not-so-tiny window manager
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
NotSoTinyWM is written by Aleksi Torhamo <firstname.lastname@example.org>. It is based on TinyWM, which is written by Nick Welch <email@example.com>. This software is in the public domain and is provided AS IS, with NO WARRANTY. NotSoTinyWM is a small window manager that tries to do the bare minimum to get the job done. It has a base that is (nearly) identical to TinyWM, which allows you to move, resize, and raise windows. It has the default sloppy focus and no decorations or anything like that, which means moving and resizing windows has to be done with weird key combinations. Various features are built on top of the base, and they coexist with it. Every feature is built on top of the bare minimum which can support it, so you can see how to implement specific features. Decorations are implemented on top of the base, and transparent decorations on top of the decorations. That is, the original features aren't replaced by the "improved" ones. NotSoTinyWM's idea is to show how to implement various features in a window manager, with as little distractions as possible. Files: Makefile: for building nstwm.c nstwm.c: the c version of the code annotated.c: same, but with tons of rambling comments about everything nstwm.py: the python version of the code annotated.py: same, but with light comments Features: Focus follows pointer. Alt+Button1, drag: interactive window move Alt+Button3, drag: interactive window resize Alt+F1: raise focused window Misc: The homepage for NotSoTinyWM is at: http://alexer.net/nstwm The homepage for TinyWM is at: http://incise.org/tinywm.html