aboutsummaryrefslogtreecommitdiffstats
path: root/common/util.c
diff options
context:
space:
mode:
authorLibravatar Ryan Walklin <ryan@testtoast.com>2018-10-31 21:06:49 +0000
committerLibravatar Ryan Walklin <ryan@testtoast.com>2018-11-05 22:58:27 +0000
commit5032acb7a574ce3e8dbfdfb1304d871e64ae68d6 (patch)
tree6144d7050fa2ac7383ffbe614cd76697f36929c8 /common/util.c
parentMerge pull request #3068 from emersion/effective-damage (diff)
downloadsway-5032acb7a574ce3e8dbfdfb1304d871e64ae68d6.tar.gz
sway-5032acb7a574ce3e8dbfdfb1304d871e64ae68d6.tar.zst
sway-5032acb7a574ce3e8dbfdfb1304d871e64ae68d6.zip
Add relative output transform
This commit enhances the output transform command with options for a relative transform, i.e. the provided transform will be applied as an offset to the current transform. Append `clockwise` to rotate clockwise from the current rotation, or `anticlockwise` to rotate in the opposite direction. For example, if the output LVDS-1 is rotated 90 degrees clockwise, the command `output LVDS-1 transform 90 clockwise` will rotate the display to 180 degrees. All transform options are supported, including flipped transforms. Relative transforms can only be applied to a single output and cannot be used with a wildcard (*) output specifier.
Diffstat (limited to 'common/util.c')
0 files changed, 0 insertions, 0 deletions