diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2021-07-06 23:56:20 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2021-07-06 23:56:20 (GMT) |
commit | 8bc11006a5ac8c10a539e5a38cdf62205ff386ad (patch) | |
tree | 54e3ef1fe6fb25f56d59d9b9e96b4eec6467ef82 /doc | |
parent | 0279936d835d7d88537bcf1208035787c02ced59 (diff) | |
download | fluxbox-8bc11006a5ac8c10a539e5a38cdf62205ff386ad.zip fluxbox-8bc11006a5ac8c10a539e5a38cdf62205ff386ad.tar.bz2 |
Patch from Glen Whitney
A priori, there is no reason why the workspace warping functionality should
treat the horizontal and vertical directions at all differently. Even if
traditionally horizontal warping was more common, for some in recent times
as aspect ratios tend to become larger, stacking virtual workspaces
vertically may make more sense. Similarly, some might want to traverse
an array of workspaces in column-major, rather than row-major, order.
Prior to this commit, there were extra parameters for vertical warping (a
controlling flag and an offset for how many workspaces to jump) as opposed
to horizontal warping. Also it was impossible to allow vertical warping while
disallowing vertical warping.
This commit makes all of the parameters and behavior for horizontal and
vertical warping equivalent. For backwards compatibility, there is an
overarching flag controlling whether warping occurs at all, as well as a
separate control flag and offset for each of horizontal and vertical warping.
The relevant init file resources and default values are:
session.screen0.workspaceWarping: true
session.screen0.workspaceWarpingHorizontal: true
session.screen0.workspaceWarpingVertical: true
session.screen0.workspaceWarpingHorizontalOffset: 1
session.screen0.workspaceWarpingVerticalOffset: 1
Diffstat (limited to 'doc')
-rw-r--r-- | doc/asciidoc/fluxbox.txt | 8 | ||||
-rw-r--r-- | doc/fluxbox.1.in | 7 |
2 files changed, 12 insertions, 3 deletions
diff --git a/doc/asciidoc/fluxbox.txt b/doc/asciidoc/fluxbox.txt index de96791..a646a66 100644 --- a/doc/asciidoc/fluxbox.txt +++ b/doc/asciidoc/fluxbox.txt | |||
@@ -415,8 +415,12 @@ titlebars, not window contents. | |||
415 | only an outline of the window will be shown. | 415 | only an outline of the window will be shown. |
416 | 416 | ||
417 | *Workspace Warping*::: | 417 | *Workspace Warping*::: |
418 | If enabled, you can drag windows from one workspace to another. The previous | 418 | If enabled, you can drag windows from one workspace to another. There are |
419 | workspace is to the left, the next workspace is to the right. | 419 | parameters to set independently whether this warping happens horizontally |
420 | and/or vertically, and in each direction you can set the number of | ||
421 | workspaces to jump when warping (to allow for a virtual rectangular grid | ||
422 | of workspaces). When warping, lower-numbered workspaces are above/to the | ||
423 | left, and higher-numbered workspaces below/to the right. | ||
420 | 424 | ||
421 | Window Menu | 425 | Window Menu |
422 | ~~~~~~~~~~~ | 426 | ~~~~~~~~~~~ |
diff --git a/doc/fluxbox.1.in b/doc/fluxbox.1.in index 8d0c1b8..b86ef41 100644 --- a/doc/fluxbox.1.in +++ b/doc/fluxbox.1.in | |||
@@ -828,7 +828,12 @@ If enabled, you will see the window content while dragging it\&. Otherwise only | |||
828 | .PP | 828 | .PP |
829 | \fBWorkspace Warping\fR | 829 | \fBWorkspace Warping\fR |
830 | .RS 4 | 830 | .RS 4 |
831 | If enabled, you can drag windows from one workspace to another\&. The previous workspace is to the left, the next workspace is to the right\&. | 831 | If enabled, you can drag windows from one workspace to another\&. There are |
832 | parameters to set independently whether this warping happens horizontally | ||
833 | and/or vertically, and in each direction you can set the number of workspaces | ||
834 | to jump when warping (to allow for a virtual rectangular grid of | ||
835 | workspaces)\&. When warping, lower-numbered workspaces are above/to the left, and | ||
836 | higher-numbered workspaces below/to the right\&. | ||
832 | .RE | 837 | .RE |
833 | .SS "Window Menu" | 838 | .SS "Window Menu" |
834 | .sp | 839 | .sp |