diff options
| author | Isaac Freund <mail@isaacfreund.com> | 2022-03-05 14:20:04 +0100 |
|---|---|---|
| committer | Isaac Freund <mail@isaacfreund.com> | 2022-03-05 14:25:20 +0100 |
| commit | adf6e1f19db41dc7e722fb00da1a7a350f7275ed (patch) | |
| tree | 1ed055075e5ad64078aa8a4102e2ca7191fcfb9b /contrib/river.desktop | |
| parent | c4c0bece59c627e24ea2dd17835a0eceb692e9d5 (diff) | |
| download | river-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 'contrib/river.desktop')
0 files changed, 0 insertions, 0 deletions
