aboutsummaryrefslogtreecommitdiff
path: root/sway/sway-output.5.scd
diff options
context:
space:
mode:
authorBrian Ashworth <bosrsf04@gmail.com>2018-12-27 11:25:48 -0500
committeremersion <contact@emersion.fr>2018-12-29 17:25:29 +0100
commit4503ad2d19d5039259b572729115fef149f1b44e (patch)
tree7407fb0c48ca602472bd9891b916ca3f5310a8bb /sway/sway-output.5.scd
parentae8937b11a7d026aaf9b79b3bc28596c1fdbd296 (diff)
sway-output(5): doc scaling consideration for pos
This copies the information regarding positioning outputs when there is scaling involved from the wiki to sway-output(5).
Diffstat (limited to 'sway/sway-output.5.scd')
-rw-r--r--sway/sway-output.5.scd14
1 files changed, 13 insertions, 1 deletions
diff --git a/sway/sway-output.5.scd b/sway/sway-output.5.scd
index aca5f955..9940d8e8 100644
--- a/sway/sway-output.5.scd
+++ b/sway/sway-output.5.scd
@@ -36,7 +36,19 @@ must be separated by one space. For example:
*output* <name> position|pos <X> <Y>
Places the specified output at the specific position in the global
- coordinate space.
+ coordinate space. If scaling is active, it has to be considered when
+ positioning. For example, if the scaling factor for the left output is 2,
+ the relative position for the right output has to be divided by 2.
+
+ Example:
+
+ output HDMI1 scale 2
+
+ output HDMI1 pos 0 0 res 3200x1800
+
+ output eDP1 pos 1600 0 res 1920x1080
+
+ Note that the x-pos of eDP1 is 1600 = 3200/2.
*output* <name> scale <factor>
Scales the specified output by the specified scale _factor_. An integer is