summaryrefslogtreecommitdiff
path: root/src/protocols/AlphaModifier.cpp
diff options
context:
space:
mode:
authorIkalco <73481042+ikalco@users.noreply.github.com>2024-07-22 11:06:11 -0500
committerGitHub <noreply@github.com>2024-07-22 18:06:11 +0200
commite8374e07927826f43d30803b6db00c3b88482e7e (patch)
treeaf37a718d9a7ce6453600eebbfd536ee034f2af1 /src/protocols/AlphaModifier.cpp
parent77b134e23baf769aecdf2ea8ed14d55d00228ce1 (diff)
debug: get rid of useless 1s in logs (#6969)
* get rid of 1s in logs lol * replace WLR with AQ in logs
Diffstat (limited to 'src/protocols/AlphaModifier.cpp')
-rw-r--r--src/protocols/AlphaModifier.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/protocols/AlphaModifier.cpp b/src/protocols/AlphaModifier.cpp
index 04dcd0a8..38b8c800 100644
--- a/src/protocols/AlphaModifier.cpp
+++ b/src/protocols/AlphaModifier.cpp
@@ -87,7 +87,7 @@ void CAlphaModifierProtocol::destroyModifier(CAlphaModifier* modifier) {
void CAlphaModifierProtocol::onGetSurface(CWpAlphaModifierV1* pMgr, uint32_t id, SP<CWLSurfaceResource> surface) {
if (std::find_if(m_mAlphaModifiers.begin(), m_mAlphaModifiers.end(), [surface](const auto& e) { return e.first == surface; }) != m_mAlphaModifiers.end()) {
- LOGM(ERR, "AlphaModifier already present for surface {:x}", (uintptr_t)surface);
+ LOGM(ERR, "AlphaModifier already present for surface {:x}", (uintptr_t)surface.get());
pMgr->error(WP_ALPHA_MODIFIER_V1_ERROR_ALREADY_CONSTRUCTED, "AlphaModifier already present");
return;
}
@@ -100,4 +100,4 @@ void CAlphaModifierProtocol::onGetSurface(CWpAlphaModifierV1* pMgr, uint32_t id,
m_mAlphaModifiers.erase(surface);
return;
}
-} \ No newline at end of file
+}