renamed column into area
This commit is contained in:
parent
02cea3b47e
commit
a118a57fe3
2 changed files with 25 additions and 7 deletions
14
dwm.1
14
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
|
floating modes. Either mode can be applied dynamically, optimizing the
|
||||||
environment for the application in use and the task performed.
|
environment for the application in use and the task performed.
|
||||||
.P
|
.P
|
||||||
In tiling mode windows are managed in a master and stacking column. The master
|
In tiling mode windows are managed in a master and stacking area. The master
|
||||||
column contains the window which currently needs most attention, whereas the
|
area contains the window which currently needs most attention, whereas the
|
||||||
stacking column contains all other windows. In floating mode windows can be
|
stacking area contains all other windows. In floating mode windows can be
|
||||||
resized and moved freely. Dialog windows are always managed floating,
|
resized and moved freely. Dialog windows are always managed floating,
|
||||||
regardless of the mode selected.
|
regardless of the mode selected.
|
||||||
.P
|
.P
|
||||||
|
@ -60,13 +60,13 @@ Focus next window.
|
||||||
Focus previous window.
|
Focus previous window.
|
||||||
.TP
|
.TP
|
||||||
.B Mod1-Return
|
.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
|
.TP
|
||||||
.B Mod1-g
|
.B Mod1-g
|
||||||
Grow current column (tiling mode only).
|
Grow current area (tiling mode only).
|
||||||
.TP
|
.TP
|
||||||
.B Mod1-s
|
.B Mod1-s
|
||||||
Shrink current column (tiling mode only).
|
Shrink current area (tiling mode only).
|
||||||
.TP
|
.TP
|
||||||
.B Mod1-Shift-[1..n]
|
.B Mod1-Shift-[1..n]
|
||||||
Apply
|
Apply
|
||||||
|
@ -105,7 +105,7 @@ Quit dwm.
|
||||||
Move current window while dragging (floating mode only).
|
Move current window while dragging (floating mode only).
|
||||||
.TP
|
.TP
|
||||||
.B Mod1-Button2
|
.B Mod1-Button2
|
||||||
Zoom current window to the master column (tiling mode only).
|
Zoom current window to the master area (tiling mode only).
|
||||||
.TP
|
.TP
|
||||||
.B Mod1-Button3
|
.B Mod1-Button3
|
||||||
Resize current window while dragging (floating mode only).
|
Resize current window while dragging (floating mode only).
|
||||||
|
|
18
view.c
18
view.c
|
@ -95,6 +95,24 @@ dofloat(Arg *arg) {
|
||||||
restack();
|
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
|
void
|
||||||
dotile(Arg *arg) {
|
dotile(Arg *arg) {
|
||||||
int h, i, n, w;
|
int h, i, n, w;
|
||||||
|
|
Loading…
Reference in a new issue