2 .\" @(#)@PACKAGE@-@VERSION@ @RELDATELONG@
16 .TH FvwmRearrange 1 "@RELDATELONG@ (@VERSION@)" Fvwm "Fvwm Modules"
19 FvwmRearrange \- rearrange fvwm windows
21 FvwmRearrange is spawned by fvwm, so no command line invocation will work.
24 This module can be called to tile or cascade windows.
26 When tiling the module attempts to tile windows on the current screen
27 subject to certain constraints. Horizontal or vertical tiling is performed
28 so that each window does not overlap another, and by default each window
29 is resized to its nearest resize increment (note sometimes some space
30 might appear between tiled windows -- this is why).
32 When cascading the module attempts to cascade windows on the current screen
33 subject to certain constraints. Layering is performed so consecutive
34 windows will have their window titles visible underneath the previous.
37 FvwmRearrange is best invoked from a menu, pop up or button. There are a
38 number of command line options which can be used to constrain the
39 layering, these are described below. As an example case, one could
40 call FvwmRearrange with the following arguments:
42 FvwmRearrange -tile -h 10 10 90 90
46 FvwmRearrange -cascade \-resize 10 2 80 70
49 The first invocation will horizontally tile windows with a bounding box
50 which starts at 10 by 10 percent into and down the screen and ends at
51 90 by 90 percent into and down the screen.
53 The second invocation will cascade windows starting 10 by 2 percent into and
54 down the screen. Windows will be constrained to 80 by 70 percent of
55 the screen dimensions. Since the \fIresize\fP is also specified,
56 windows will be resized to the given constrained width and height.
58 FvwmRearrange can be called as FvwmTile or FvwmCascade. This is equivalent
59 to providing the -tile or -cascade option. This form is obsolete and
60 supplied for backwards compatibility only.
62 Command-line arguments passed to FvwmRearrange are described here.
64 Causes \fIall\fP window types to be affected, even ones with the
67 Attempt to do an animated move, this is ignored if \fI-resize\fP
68 or \fI-maximize\fP are used.
70 Cascade windows. This argument must be the first on the command line.
73 Causes all windows on the desk to be cascaded/tiled instead of the
76 Inhibits border width increment. Only used when cascading.
78 Inhibits border height increment. Only used when cascading.
80 Tiles horizontally (default is to tile vertically). Used for tiling only.
81 .IP "\-incx \fIarg\fP"
82 Specifies a horizontal increment which is successively added to
83 cascaded windows. \fIarg\fP is a percentage of screen width, or pixel
84 value if a \fIp\fP is suffixed. Default is zero. Used only for cascading.
85 .IP "\-incy \fIarg\fP"
86 Specifies a vertical increment which is successively added to cascaded
87 windows. \fIarg\fP is a percentage of screen height, or pixel value
88 if a \fIp\fP is suffixed. Default is zero. Used only for cascading.
91 Causes maximized windows to also be affected (implied by \-a).
93 When moving/resizing a window, put it also into maximized state.
95 Tiles up to \fIarg\fP windows in tile direction. If more windows
96 exist, a new direction row or column is created (in effect, a matrix
97 is created). Used only when tiling windows.
99 Do not attempt to do an animated move.
101 Do not put windows into maximized state.
103 Inhibits window raising, leaving the depth ordering intact.
105 Inhibits window resizing, leaving window sizes intact. This is the default
106 when cascading windows.
108 If tiling: inhibits window growth to fit tile. Windows are shrunk to fit the
109 tile but not expanded.
111 If cascading: inhibits window expansion when using the \-resize option. Windows
112 will only shrink to fit the maximal width and height (if given).
114 Reverses the window sequence.
116 Forces all windows to resize to the constrained width and height (if
117 given). This is the default when tiling windows.
119 Causes sticky windows to also be affected (implied by \-a).
121 Causes windows sticky across pages to also be affected (implied by \-a).
123 Causes windows sticky across desks to also be affected (implied by \-a).
125 Causes transient windows to also be affected (implied by \-a).
127 Tile windows. This argument must be the first on the command line.
129 Causes untitled windows to also be affected (implied by \-a).
131 Up to four numbers can be placed on the command line that are not
132 switches. The first pair specify an x and y offset to start the first
133 window (default is 0, 0).
134 The meaning of the second pair depends on operation mode:
136 When tiling windows it specifies an absolute coordinate reference
137 denoting the lower right bounding box for tiling.
139 When cascading it specifies a maximal width and height for the layered
140 windows. If an affected window exceeds either this width or height, it
141 is resized to the maximal width or height.
143 If any number is suffixed with the letter p, then it is taken to be a
144 pixel value, otherwise it is interpreted as a screen percentage.
145 Specifying zero for any parameter is equivalent to not specifying it.
148 It is probably not a good idea to delete windows while windows are
152 Andrew Veliath (original FvwmTile and FvwmCascade modules)
153 Dominik Vogt (merged FvwmTile and FvwmCascade to FvwmRearrange)