windows: refactor class member vars (#10168)

This commit is contained in:
davc0n 2025-04-28 22:25:22 +02:00 committed by GitHub
parent c505eb55ff
commit 2118440488
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
43 changed files with 2124 additions and 2134 deletions

View file

@ -131,7 +131,7 @@ APICALL bool HyprlandAPI::removeWindowDecoration(HANDLE handle, IHyprWindowDecor
return false;
for (auto const& w : g_pCompositor->m_windows) {
for (auto const& d : w->m_dWindowDecorations) {
for (auto const& d : w->m_windowDecorations) {
if (d.get() == pDecoration) {
w->removeWindowDeco(pDecoration);
return true;