aboutsummaryrefslogtreecommitdiff
path: root/doc/river.1.scd
diff options
context:
space:
mode:
authorIsaac Freund <mail@isaacfreund.com>2022-03-05 14:20:04 +0100
committerIsaac Freund <mail@isaacfreund.com>2022-03-05 14:25:20 +0100
commitadf6e1f19db41dc7e722fb00da1a7a350f7275ed (patch)
tree1ed055075e5ad64078aa8a4102e2ca7191fcfb9b /doc/river.1.scd
parentc4c0bece59c627e24ea2dd17835a0eceb692e9d5 (diff)
downloadriver-adf6e1f19db41dc7e722fb00da1a7a350f7275ed.tar.gz
river-adf6e1f19db41dc7e722fb00da1a7a350f7275ed.tar.xz
layer-shell: allow surfaces larger than the output
The motivation for this change is to simplify the implementation and remove a massive footgun that is currently present and causing UB/crashes. If a layer surface is destroyed in arrangeLayers() then the code in LayerSurface.handleCommit() after the arrangeLayers() call accesses free'd memory. This is of course possible to fix, but it's far simpler to loosen up the protocol implementation a bit. The new implementation is also in line with what sway and the new wlroots layer shell helper do and is perfectly valid according to the protocol.
Diffstat (limited to 'doc/river.1.scd')
0 files changed, 0 insertions, 0 deletions