core,hyprctl: clang, clang-tidy, typo fixes and dtors changes (#9233)

* declare dtor once + DMABBUF typo fix

* dup include + clang moment

* linux-dmabuf: last minute nit change
This commit is contained in:
Honkazel 2025-01-30 16:07:06 +05:00 committed by GitHub
parent d462cc7fa1
commit 7d1c78f4a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
31 changed files with 35 additions and 94 deletions

View file

@ -31,10 +31,6 @@ CSubsurface::CSubsurface(SP<CWLSubsurfaceResource> pSubsurface, WP<CPopup> pOwne
initExistingSubsurfaces(pSubsurface->surface.lock());
}
CSubsurface::~CSubsurface() {
;
}
void CSubsurface::initSignals() {
if (m_pSubsurface) {
listeners.commitSubsurface = m_pSubsurface->surface->events.commit.registerListener([this](std::any d) { onCommit(); });

View file

@ -17,7 +17,7 @@ class CSubsurface {
CSubsurface(SP<CWLSubsurfaceResource> pSubsurface, PHLWINDOW pOwner);
CSubsurface(SP<CWLSubsurfaceResource> pSubsurface, WP<CPopup> pOwner);
~CSubsurface();
~CSubsurface() = default;
Vector2D coordsRelativeToParent();
Vector2D coordsGlobal();
@ -62,4 +62,4 @@ class CSubsurface {
void initSignals();
void initExistingSubsurfaces(SP<CWLSurfaceResource> pSurface);
void checkSiblingDamage();
};
};