Skip to main content

Module wm

Module wm 

Source
Expand description

The window manager’s settings. A pane’s client sends keys and mouse buttons at screen level, so whatever the window manager binds to a key or a button, the client can use: a stock Openbox has a root menu that starts programs on the server and an Alt-drag that moves a window. This configuration binds nothing: no keyboard shortcut, no mouse action, an empty menu, and no frame on any window (so there is no title bar to drag and no button to press). The window manager is there to give the browser the focus and to place its windows; the browser is the only program a client can reach.

Constants§

MENU
A menu with nothing in it.
MENU_FILE
RC_FILE
The window manager’s own file names, inside the folder it is given.

Functions§

rc
The settings: nothing bound, the menu empty, no window decorated.
write
Write both files into dir and give the arguments that make the window manager read them.