dwm-meillo
changeset 504:0cefc169ff67
renamed column into area
author | Anselm R. Garbe <arg@10kloc.org> |
---|---|
date | Thu, 28 Sep 2006 21:29:20 +0200 |
parents | 491eebbe7a64 |
children | 2c29d74b11dc |
files | dwm.1 view.c |
diffstat | 2 files changed, 25 insertions(+), 7 deletions(-) [+] |
line diff
1.1 --- a/dwm.1 Thu Sep 28 16:14:48 2006 +0200 1.2 +++ b/dwm.1 Thu Sep 28 21:29:20 2006 +0200 1.3 @@ -9,9 +9,9 @@ 1.4 floating modes. Either mode can be applied dynamically, optimizing the 1.5 environment for the application in use and the task performed. 1.6 .P 1.7 -In tiling mode windows are managed in a master and stacking column. The master 1.8 -column contains the window which currently needs most attention, whereas the 1.9 -stacking column contains all other windows. In floating mode windows can be 1.10 +In tiling mode windows are managed in a master and stacking area. The master 1.11 +area contains the window which currently needs most attention, whereas the 1.12 +stacking area contains all other windows. In floating mode windows can be 1.13 resized and moved freely. Dialog windows are always managed floating, 1.14 regardless of the mode selected. 1.15 .P 1.16 @@ -60,13 +60,13 @@ 1.17 Focus previous window. 1.18 .TP 1.19 .B Mod1-Return 1.20 -Zooms/cycles current window to/from master column (tiling mode), toggles maximization current window (floating mode). 1.21 +Zooms/cycles current window to/from master area (tiling mode), toggles maximization current window (floating mode). 1.22 .TP 1.23 .B Mod1-g 1.24 -Grow current column (tiling mode only). 1.25 +Grow current area (tiling mode only). 1.26 .TP 1.27 .B Mod1-s 1.28 -Shrink current column (tiling mode only). 1.29 +Shrink current area (tiling mode only). 1.30 .TP 1.31 .B Mod1-Shift-[1..n] 1.32 Apply 1.33 @@ -105,7 +105,7 @@ 1.34 Move current window while dragging (floating mode only). 1.35 .TP 1.36 .B Mod1-Button2 1.37 -Zoom current window to the master column (tiling mode only). 1.38 +Zoom current window to the master area (tiling mode only). 1.39 .TP 1.40 .B Mod1-Button3 1.41 Resize current window while dragging (floating mode only).
2.1 --- a/view.c Thu Sep 28 16:14:48 2006 +0200 2.2 +++ b/view.c Thu Sep 28 21:29:20 2006 +0200 2.3 @@ -95,6 +95,24 @@ 2.4 restack(); 2.5 } 2.6 2.7 +/* This algorithm is based on a (M)aster area and a (S)tacking area. 2.8 + * It supports following arrangements: 2.9 + * 2.10 + * MMMS MMMM 2.11 + * MMMS MMMM 2.12 + * MMMS SSSS 2.13 + * 2.14 + * The stacking area can be set to arrange clients vertically or horizontally. 2.15 + * Through inverting the algorithm it can be used to achieve following setup in 2.16 + * a dual head environment (due to running two dwm instances concurrently on 2.17 + * the specific screen): 2.18 + * 2.19 + * SMM MMS MMM MMM 2.20 + * SMM MMS MMM MMM 2.21 + * SMM MMS SSS SSS 2.22 + * 2.23 + * This uses the center of the two screens for master areas. 2.24 + */ 2.25 void 2.26 dotile(Arg *arg) { 2.27 int h, i, n, w;