refactor: Use new hyprutils casts (#11377)
This commit is contained in:
parent
aa6a78f0a4
commit
beee22a95e
116 changed files with 715 additions and 696 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue