internal: fix clang-tidy "errors" (#11862)
This commit is contained in:
parent
43fb4753fc
commit
4d82cc5957
13 changed files with 133 additions and 26 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue