summaryrefslogtreecommitdiff
path: root/src/xwayland/XSurface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xwayland/XSurface.cpp')
-rw-r--r--src/xwayland/XSurface.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xwayland/XSurface.cpp b/src/xwayland/XSurface.cpp
index 3b0615a0..ac8ac512 100644
--- a/src/xwayland/XSurface.cpp
+++ b/src/xwayland/XSurface.cpp
@@ -98,7 +98,7 @@ void CXWaylandSurface::map() {
m_mapped = true;
m_surface->map();
- Debug::log(LOG, "XWayland surface {:x} mapping", (uintptr_t)this);
+ Debug::log(LOG, "XWayland surface {:x} mapping", rc<uintptr_t>(this));
m_events.map.emit();
@@ -118,7 +118,7 @@ void CXWaylandSurface::unmap() {
m_events.unmap.emit();
m_surface->unmap();
- Debug::log(LOG, "XWayland surface {:x} unmapping", (uintptr_t)this);
+ Debug::log(LOG, "XWayland surface {:x} unmapping", rc<uintptr_t>(this));
g_pXWayland->m_wm->updateClientList();
}
@@ -184,7 +184,7 @@ void CXWaylandSurface::configure(const CBox& box) {
e.border_width = 0;
e.above_sibling = XCB_NONE;
e.override_redirect = m_overrideRedirect;
- xcb_send_event(g_pXWayland->m_wm->getConnection(), false, m_xID, XCB_EVENT_MASK_STRUCTURE_NOTIFY, (const char*)&e);
+ xcb_send_event(g_pXWayland->m_wm->getConnection(), false, m_xID, XCB_EVENT_MASK_STRUCTURE_NOTIFY, rc<const char*>(&e));
}
g_pXWayland->m_wm->updateClientList();