about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-09-28 21:29:20 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-09-28 21:29:20 +0200
commita118a57fe3fd13036f24ebe093a5c329608a0600 (patch)
treec93b33bf69316169c7112d0a05419e12a21099a6
parent02cea3b47e944ddb7541dfb404af205c1064191a (diff)
downloaddwm-a118a57fe3fd13036f24ebe093a5c329608a0600.tar.gz
renamed column into area
-rw-r--r--dwm.114
-rw-r--r--view.c18
2 files changed, 25 insertions, 7 deletions
diff --git a/dwm.1 b/dwm.1
index db9eee1..5e17193 100644
--- a/dwm.1
+++ b/dwm.1
@@ -9,9 +9,9 @@ dwm is a dynamic window manager for X. It manages windows in tiling and
 floating modes. Either mode can be applied dynamically, optimizing the
 environment for the application in use and the task performed.
 .P
-In tiling mode windows are managed in a master and stacking column. The master
-column contains the window which currently needs most attention, whereas the
-stacking column contains all other windows. In floating mode windows can be
+In tiling mode windows are managed in a master and stacking area. The master
+area contains the window which currently needs most attention, whereas the
+stacking area contains all other windows. In floating mode windows can be
 resized and moved freely. Dialog windows are always managed floating,
 regardless of the mode selected.
 .P
@@ -60,13 +60,13 @@ Focus next window.
 Focus previous window.
 .TP
 .B Mod1-Return
-Zooms/cycles current window to/from master column (tiling mode), toggles maximization current window (floating mode).
+Zooms/cycles current window to/from master area (tiling mode), toggles maximization current window (floating mode).
 .TP
 .B Mod1-g
-Grow current column (tiling mode only).
+Grow current area (tiling mode only).
 .TP
 .B Mod1-s
-Shrink current column (tiling mode only).
+Shrink current area (tiling mode only).
 .TP
 .B Mod1-Shift-[1..n]
 Apply
@@ -105,7 +105,7 @@ Quit dwm.
 Move current window while dragging (floating mode only).
 .TP
 .B Mod1-Button2
-Zoom current window to the master column (tiling mode only).
+Zoom current window to the master area (tiling mode only).
 .TP
 .B Mod1-Button3
 Resize current window while dragging (floating mode only).
diff --git a/view.c b/view.c
index dab8128..d3378ff 100644
--- a/view.c
+++ b/view.c
@@ -95,6 +95,24 @@ dofloat(Arg *arg) {
 	restack();
 }
 
+/* This algorithm is based on a (M)aster area and a (S)tacking area.
+ * It supports following arrangements:
+ *
+ * 	MMMS		MMMM
+ * 	MMMS		MMMM
+ * 	MMMS		SSSS
+ *
+ * The stacking area can be set to arrange clients vertically or horizontally.
+ * Through inverting the algorithm it can be used to achieve following setup in
+ * a dual head environment (due to running two dwm instances concurrently on
+ * the specific screen):
+ *
+ * 	SMM MMS		MMM MMM
+ * 	SMM MMS		MMM MMM
+ * 	SMM MMS		SSS SSS
+ *
+ * This uses the center of the two screens for master areas.
+ */
 void
 dotile(Arg *arg) {
 	int h, i, n, w;
^
224474d7 ^
248e789e ^


248e789e ^

e1eefb8a ^

















248e789e ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111