aboutsummaryrefslogtreecommitdiff
path: root/protocol/river-control-unstable-v1.xml
diff options
context:
space:
mode:
authorpolykernel <81340136+polykernel@users.noreply.github.com>2023-08-29 17:54:13 -0400
committerpolykernel <81340136+polykernel@users.noreply.github.com>2023-11-08 00:46:55 -0500
commita0ea456ab2c8ea40232d920c2837cd6222c8c0c3 (patch)
tree977688c38a13b6d6870390c76f7a0124d15c66fe /protocol/river-control-unstable-v1.xml
parent18a440b6063db07604fa8626fda893cc77d841dc (diff)
downloadriver-a0ea456ab2c8ea40232d920c2837cd6222c8c0c3.tar.gz
river-a0ea456ab2c8ea40232d920c2837cd6222c8c0c3.tar.xz
river: add position and dimensions rules
This commit adds position and dimensions rules for configuring the initial position and dimensions of views. When a view is not matched by any position rules, it is centered in the avaliable output space matching the current behavior. If the provided position rule places the view outside of the output, the view's position is clamped to the output bounds (with respect to borders). When a view is not matched by any dimensions rules, no default dimensions is set by the server. If the provided dimensions rule exceeds the minimum or maximum width/height constraints of the view, the view's width/height is clamped to the constraints. Position and dimensions rules have no effect if a view is started fullscreen or is not floating. A view must be matched by a float rule in order for them to take effect.
Diffstat (limited to 'protocol/river-control-unstable-v1.xml')
0 files changed, 0 insertions, 0 deletions