renamed column into area a118a57f
Anselm R. Garbe · 2006-09-28 21:29 2 file(s) · +25 −7
dwm.1 +7 −7
9 9
floating modes. Either mode can be applied dynamically, optimizing the
10 10
environment for the application in use and the task performed.
11 11
.P
12 -
In tiling mode windows are managed in a master and stacking column. The master
13 -
column contains the window which currently needs most attention, whereas the
14 -
stacking column contains all other windows. In floating mode windows can be
12 +
In tiling mode windows are managed in a master and stacking area. The master
13 +
area contains the window which currently needs most attention, whereas the
14 +
stacking area contains all other windows. In floating mode windows can be
15 15
resized and moved freely. Dialog windows are always managed floating,
16 16
regardless of the mode selected.
17 17
.P
60 60
Focus previous window.
61 61
.TP
62 62
.B Mod1-Return
63 -
Zooms/cycles current window to/from master column (tiling mode), toggles maximization current window (floating mode).
63 +
Zooms/cycles current window to/from master area (tiling mode), toggles maximization current window (floating mode).
64 64
.TP
65 65
.B Mod1-g
66 -
Grow current column (tiling mode only).
66 +
Grow current area (tiling mode only).
67 67
.TP
68 68
.B Mod1-s
69 -
Shrink current column (tiling mode only).
69 +
Shrink current area (tiling mode only).
70 70
.TP
71 71
.B Mod1-Shift-[1..n]
72 72
Apply
105 105
Move current window while dragging (floating mode only).
106 106
.TP
107 107
.B Mod1-Button2
108 -
Zoom current window to the master column (tiling mode only).
108 +
Zoom current window to the master area (tiling mode only).
109 109
.TP
110 110
.B Mod1-Button3
111 111
Resize current window while dragging (floating mode only).
view.c +18 −0
95 95
	restack();
96 96
}
97 97
98 +
/* This algorithm is based on a (M)aster area and a (S)tacking area.
99 +
 * It supports following arrangements:
100 +
 *
101 +
 * 	MMMS		MMMM
102 +
 * 	MMMS		MMMM
103 +
 * 	MMMS		SSSS
104 +
 *
105 +
 * The stacking area can be set to arrange clients vertically or horizontally.
106 +
 * Through inverting the algorithm it can be used to achieve following setup in
107 +
 * a dual head environment (due to running two dwm instances concurrently on
108 +
 * the specific screen):
109 +
 *
110 +
 * 	SMM MMS		MMM MMM
111 +
 * 	SMM MMS		MMM MMM
112 +
 * 	SMM MMS		SSS SSS
113 +
 *
114 +
 * This uses the center of the two screens for master areas.
115 +
 */
98 116
void
99 117
dotile(Arg *arg) {
100 118
	int h, i, n, w;