summaryrefslogtreecommitdiffstats
path: root/view.c
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 /view.c
parentsmall change to README (diff)
downloaddwm-a118a57fe3fd13036f24ebe093a5c329608a0600.tar.gz
dwm-a118a57fe3fd13036f24ebe093a5c329608a0600.zip
renamed column into area
Diffstat (limited to 'view.c')
-rw-r--r--view.c18
1 files changed, 18 insertions, 0 deletions
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) {
95 restack(); 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 */
98void 116void
99dotile(Arg *arg) { 117dotile(Arg *arg) {
100 int h, i, n, w; 118 int h, i, n, w;