windowlab is a small and simple window manager of novel design.
It has a click-to-focus but not raise-on-focus policy, a window resizing mechanism that allows one or many edges of a window to be changed in one action, and an innovative menubar that shares the same part of the screen as the taskbar. Window titlebars are prevented from going off the edge of the screen by constraining the mouse pointer, and when appropriate the pointer is also constrained to the taskbar/menubar in order to make target menu items easier to hit.
WindowLab places a taskbar at the top of the screen and adds a titlebar to the top of each window. These titlebars consist of a draggable area, and three icons on the right hand side. When left clicked, these icons:
* hide the window
* toggle the windows Z order Amiga style (if its not at the front, bring it to the front, otherwise send it to the back)
* close the window
Another way of toggling a windows Z order (depth) is by double left clicking on the draggable part of its titlebar.
Windows titlebars are prevented from leaving the screen and cannot overlap the taskbar.
The taskbar should list all windows currently in use. Left clicking on a windows taskbar item will give that window focus and toggle its Z order (depth).
To resize the active window hold down alt and push against the windows edges with the left mouse button down.
If you right click outside a client window, WindowLabs taskbar becomes a menubar. Releasing the right mouse button over a selected menu item will start a corresponding external program. WindowLab will look in each of the following files in turn for definitions of the menu labels and commands:
* ../etc/windowlab.menurc (from the directory containing the executable)
Each line in the menurc file should have the menu label, a colon, and then the corresponding command, eg:
New windows (that dont specify their location) are positioned according to the coordinates of the mouse - the top-left hand corner of a new window is set to the location of the mouse pointer (if necessary the window will be moved to ensure that all of it is on the screen).
WindowLab has the following keyboard controls. Hold down alt and press:
tab to give focus to the previous window
q to give focus to the next window
F11 to toggle fullscreen mode on and off for non transient windows
F12 to toggle the windows depth. This is the same as left clicking a windows middle icon