summaryrefslogtreecommitdiff
path: root/src/protocols/XDGBell.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocols/XDGBell.cpp')
-rw-r--r--src/protocols/XDGBell.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocols/XDGBell.cpp b/src/protocols/XDGBell.cpp
index bf46d3eb..88456473 100644
--- a/src/protocols/XDGBell.cpp
+++ b/src/protocols/XDGBell.cpp
@@ -37,7 +37,7 @@ CXDGSystemBellManagerResource::CXDGSystemBellManagerResource(UP<CXdgSystemBellV1
if (w->m_wlSurface->resource() == SURFACE) {
g_pEventManager->postEvent(SHyprIPCEvent{
.event = "bell",
- .data = std::format("{:x}", (uintptr_t)w.get()),
+ .data = std::format("{:x}", rc<uintptr_t>(w.get())),
});
return;
}