diff options
| author | Sam Lakerveld <darkwater124@gmail.com> | 2024-07-22 23:36:58 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-22 23:36:58 +0200 |
| commit | 3c758db95c129ed6ca7ce0c1b5b82ad6e189488d (patch) | |
| tree | b342308712eb0512d5cbff8dfb900792f76cc16a /src/protocols/LayerShell.cpp | |
| parent | 7c68236a51291e71db04233d04eae65f4ebd594f (diff) | |
renderer/layer-shell: use explicitly set exclusiveEdge (#6984)
Diffstat (limited to 'src/protocols/LayerShell.cpp')
| -rw-r--r-- | src/protocols/LayerShell.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/protocols/LayerShell.cpp b/src/protocols/LayerShell.cpp index fd66ba5e..029f261d 100644 --- a/src/protocols/LayerShell.cpp +++ b/src/protocols/LayerShell.cpp @@ -152,6 +152,8 @@ CLayerShellResource::CLayerShellResource(SP<CZwlrLayerSurfaceV1> resource_, SP<C }); resource->setSetExclusiveEdge([this](CZwlrLayerSurfaceV1* r, zwlrLayerSurfaceV1Anchor anchor) { + // TODO: validate anchor + pending.committed |= STATE_EDGE; pending.exclusiveEdge = anchor; }); |
