dwm-meillo
diff view.c @ 504:0cefc169ff67
renamed column into area
author | Anselm R. Garbe <arg@10kloc.org> |
---|---|
date | Thu, 28 Sep 2006 21:29:20 +0200 |
parents | 9aa3d06199cb |
children | 2c29d74b11dc |
line diff
1.1 --- a/view.c Thu Sep 28 16:14:48 2006 +0200 1.2 +++ b/view.c Thu Sep 28 21:29:20 2006 +0200 1.3 @@ -95,6 +95,24 @@ 1.4 restack(); 1.5 } 1.6 1.7 +/* This algorithm is based on a (M)aster area and a (S)tacking area. 1.8 + * It supports following arrangements: 1.9 + * 1.10 + * MMMS MMMM 1.11 + * MMMS MMMM 1.12 + * MMMS SSSS 1.13 + * 1.14 + * The stacking area can be set to arrange clients vertically or horizontally. 1.15 + * Through inverting the algorithm it can be used to achieve following setup in 1.16 + * a dual head environment (due to running two dwm instances concurrently on 1.17 + * the specific screen): 1.18 + * 1.19 + * SMM MMS MMM MMM 1.20 + * SMM MMS MMM MMM 1.21 + * SMM MMS SSS SSS 1.22 + * 1.23 + * This uses the center of the two screens for master areas. 1.24 + */ 1.25 void 1.26 dotile(Arg *arg) { 1.27 int h, i, n, w;