windows: refactor class member vars (#10168)
This commit is contained in:
parent
c505eb55ff
commit
2118440488
43 changed files with 2124 additions and 2134 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue