diff options
| author | UjinT34 <41110182+UjinT34@users.noreply.github.com> | 2025-09-29 15:10:15 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-29 13:10:15 +0100 |
| commit | 4d82cc5957978aad3b291b711f9e9d7653362155 (patch) | |
| tree | 6ce5c3fad79aa3572384dc780c19fd378250d310 /src/protocols/LayerShell.cpp | |
| parent | 43fb4753fcc5ed1eb0c3341b690f72574faa02bc (diff) | |
internal: fix clang-tidy "errors" (#11862)
Diffstat (limited to 'src/protocols/LayerShell.cpp')
| -rw-r--r-- | src/protocols/LayerShell.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocols/LayerShell.cpp b/src/protocols/LayerShell.cpp index 2ed4bfb1..15db1445 100644 --- a/src/protocols/LayerShell.cpp +++ b/src/protocols/LayerShell.cpp @@ -159,7 +159,7 @@ CLayerShellResource::CLayerShellResource(SP<CZwlrLayerSurfaceV1> resource_, SP<C return; } - if (anchor && (!m_pending.anchor || !(m_pending.anchor & anchor))) { + if (!m_pending.anchor || !(m_pending.anchor & anchor)) { r->error(ZWLR_LAYER_SURFACE_V1_ERROR_INVALID_EXCLUSIVE_EDGE, "Exclusive edge doesn't align with anchor"); return; } |
